equal
deleted
inserted
replaced
279 const TInt KEntryLocalUid = aEntry.LocalUid(); |
279 const TInt KEntryLocalUid = aEntry.LocalUid(); |
280 for (TInt i = iIndex.Count() - 1; i >= 0; --i) |
280 for (TInt i = iIndex.Count() - 1; i >= 0; --i) |
281 { |
281 { |
282 // check every attachment |
282 // check every attachment |
283 const CAgnAttachmentIndexItem* KAttachmentItem = iIndex[i]; |
283 const CAgnAttachmentIndexItem* KAttachmentItem = iIndex[i]; |
284 for (TInt j = 0; j < KAttachmentItem->Entries().Count(); ++j) |
284 const TInt entryCount = KAttachmentItem->Entries().Count(); |
|
285 for (TInt j = 0; j < entryCount; ++j) |
285 { |
286 { |
286 // check every entry associated with each attachment |
287 // check every entry associated with each attachment |
287 if (KEntryLocalUid == (KAttachmentItem->Entries())[j]) |
288 if (KEntryLocalUid == (KAttachmentItem->Entries())[j]) |
288 { |
289 { |
289 // If the entry being updated used to contain this attachment, check it still does |
290 // If the entry being updated used to contain this attachment, check it still does |