equal
deleted
inserted
replaced
4802 { |
4802 { |
4803 // No sort order is defined only the contact's type is needed. |
4803 // No sort order is defined only the contact's type is needed. |
4804 TContactItemId actualId; |
4804 TContactItemId actualId; |
4805 TUid contactType = KNullUid; |
4805 TUid contactType = KNullUid; |
4806 TBool deleted = EFalse; |
4806 TBool deleted = EFalse; |
|
4807 TBool found = EFalse; |
4807 |
4808 |
4808 MLplCollection& collection = FactoryL()->GetCollectorL(); |
4809 MLplCollection& collection = FactoryL()->GetCollectorL(); |
4809 TRAP(error, collection.SeekContactL(aContactId,actualId,contactType,deleted)); |
4810 TRAP(error, found = collection.SeekContactL(aContactId,actualId,contactType,deleted)); |
4810 |
4811 |
4811 if (CheckSortError(error)==EFalse) |
4812 if (found && CheckSortError(error)==EFalse) |
4812 { |
4813 { |
4813 if (CheckType(contactType)) |
4814 if (CheckType(contactType)) |
4814 { |
4815 { |
4815 iSortedItems->AddL(aContactId); |
4816 iSortedItems->AddL(aContactId); |
4816 } |
4817 } |