equal
deleted
inserted
replaced
342 { |
342 { |
343 // this item already exists in the index |
343 // this item already exists in the index |
344 item->SetValid(); |
344 item->SetValid(); |
345 CleanupStack::PopAndDestroy( name ); |
345 CleanupStack::PopAndDestroy( name ); |
346 } |
346 } |
347 |
347 //coverity[check_return :FALSE] |
|
348 //coverity[unchecked_value :FALSE] |
348 iTable.NextL(); |
349 iTable.NextL(); |
349 iTablePosition++; |
350 iTablePosition++; |
350 } |
351 } |
351 |
352 |
352 // return progress; |
353 // return progress; |
446 //-------------------------------------------------------------------- |
447 //-------------------------------------------------------------------- |
447 //-------------------------------------------------------------------- |
448 //-------------------------------------------------------------------- |
448 // |
449 // |
449 void CPosLmNameIndex::InsertL( TPosLmItemId aLmid, HBufC* aName ) |
450 void CPosLmNameIndex::InsertL( TPosLmItemId aLmid, HBufC* aName ) |
450 { |
451 { |
451 DoInsertL( aLmid, aName ); |
452 //coverity[ alloc_fn : FALSE ] |
|
453 DoInsertL( aLmid, aName ); |
|
454 |
452 } |
455 } |
453 |
456 |
454 //-------------------------------------------------------------------- |
457 //-------------------------------------------------------------------- |
455 //-------------------------------------------------------------------- |
458 //-------------------------------------------------------------------- |
456 // |
459 // |
537 //-------------------------------------------------------------------- |
540 //-------------------------------------------------------------------- |
538 // |
541 // |
539 void CPosLmNameIndex::UpdateL( TPosLmItemId aId, const TDesC& aName ) |
542 void CPosLmNameIndex::UpdateL( TPosLmItemId aId, const TDesC& aName ) |
540 { |
543 { |
541 HBufC* name = aName.AllocLC(); |
544 HBufC* name = aName.AllocLC(); |
|
545 //coverity[freed_arg : FALSE] |
542 UpdateL( aId, name ); |
546 UpdateL( aId, name ); |
|
547 //coverity[pass_freed_arg : FALSE] |
543 CleanupStack::Pop( name ); |
548 CleanupStack::Pop( name ); |
544 } |
549 } |
545 |
550 |
546 //-------------------------------------------------------------------- |
551 //-------------------------------------------------------------------- |
547 //-------------------------------------------------------------------- |
552 //-------------------------------------------------------------------- |