equal
deleted
inserted
replaced
464 const TInt singleValue = 1; |
464 const TInt singleValue = 1; |
465 |
465 |
466 if ( aItem.TextType() == EPbk2StoreInfoStoreName && aProperty ) |
466 if ( aItem.TextType() == EPbk2StoreInfoStoreName && aProperty ) |
467 { |
467 { |
468 CPbk2Content* content = aProperty->RetrieveContentLC |
468 CPbk2Content* content = aProperty->RetrieveContentLC |
469 ( EPbk2MemInfoPhone ); |
469 ( EPbk2MemInfoContacts ); |
470 |
470 |
471 CPbk2StorePropertyContentStoreName* propContent = |
471 CPbk2StorePropertyContentStoreName* propContent = |
472 dynamic_cast<CPbk2StorePropertyContentStoreName*>( content ); |
472 dynamic_cast<CPbk2StorePropertyContentStoreName*>( content ); |
473 |
473 |
474 HBufC* storeName = NULL; |
474 HBufC* storeName = NULL; |
484 |
484 |
485 CleanupStack::PopAndDestroy( content ); |
485 CleanupStack::PopAndDestroy( content ); |
486 retVal = storeName; |
486 retVal = storeName; |
487 } |
487 } |
488 |
488 |
489 else if (aValue == singleValue) |
|
490 { |
|
491 retVal = aItem.ItemTextSingular().AllocL(); |
|
492 } |
|
493 else |
489 else |
494 { |
490 { |
495 retVal = aItem.ItemTextPlural().AllocL(); |
491 retVal = aItem.ItemTextPlural().AllocL(); |
496 } |
492 } |
497 |
493 |