equal
deleted
inserted
replaced
749 RBuf attrVal; |
749 RBuf attrVal; |
750 attrVal.CleanupClosePushL(); |
750 attrVal.CleanupClosePushL(); |
751 attrVal.CreateL( KCaMaxAttrValueLen ); |
751 attrVal.CreateL( KCaMaxAttrValueLen ); |
752 aEntry->FindAttribute( KCaAttrLongName, attrVal ); |
752 aEntry->FindAttribute( KCaAttrLongName, attrVal ); |
753 if( attrVal.Compare( info.iCaption ) != KErrNone |
753 if( attrVal.Compare( info.iCaption ) != KErrNone |
754 || aEntry->GetText().Compare( info.iShortCaption ) |
754 || aEntry->GetText().Compare( info.iCaption ) |
755 != KErrNone ) |
755 != KErrNone ) |
756 { |
756 { |
757 aEntry->SetTextL( info.iShortCaption ); |
757 aEntry->SetTextL( info.iCaption ); |
758 aEntry->AddAttributeL( KCaAttrLongName, info.iCaption ); |
758 aEntry->AddAttributeL( KCaAttrLongName, info.iCaption ); |
759 changed = ETrue; |
759 changed = ETrue; |
760 } |
760 } |
761 CleanupStack::PopAndDestroy( &attrVal ); |
761 CleanupStack::PopAndDestroy( &attrVal ); |
762 } |
762 } |