--- 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();