equal
deleted
inserted
replaced
64 } |
64 } |
65 |
65 |
66 TInt32 CContactIdConverter::LinkToIdentifier( const MVPbkContactLink& aLink ) const |
66 TInt32 CContactIdConverter::LinkToIdentifier( const MVPbkContactLink& aLink ) const |
67 { |
67 { |
68 TInt32 result = KNullContactId; |
68 TInt32 result = KNullContactId; |
69 if ( &aLink.ContactStore() == &iContactStore ) |
69 if ( &aLink && &aLink.ContactStore() == &iContactStore ) |
70 { |
70 { |
71 const CContactLink& link = static_cast<const CContactLink&>( aLink ); |
71 const CContactLink& link = static_cast<const CContactLink&>( aLink ); |
72 result = link.ContactId(); |
72 result = link.ContactId(); |
73 } |
73 } |
74 return result; |
74 return result; |