phonebookengines/VirtualPhonebook/VPbkCntModel/src/CContactIdConverter.cpp
branchRCL_3
changeset 14 81f8547efd4f
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
--- a/phonebookengines/VirtualPhonebook/VPbkCntModel/src/CContactIdConverter.cpp	Fri Feb 19 22:40:27 2010 +0200
+++ b/phonebookengines/VirtualPhonebook/VPbkCntModel/src/CContactIdConverter.cpp	Fri Mar 12 15:41:25 2010 +0200
@@ -66,7 +66,7 @@
 TInt32 CContactIdConverter::LinkToIdentifier( const MVPbkContactLink& aLink ) const
     {
     TInt32 result = KNullContactId;
-    if ( &aLink.ContactStore() == &iContactStore )
+    if ( &aLink && &aLink.ContactStore() == &iContactStore )
         {
         const CContactLink& link = static_cast<const CContactLink&>( aLink );
         result = link.ContactId();