mpxplugins/viewplugins/views/podcastview/src/mpxpodcastcollectionviewlistboxarray.cpp
branchRCL_3
changeset 17 c8156a91d13c
parent 0 ff3acec5bc43
equal deleted inserted replaced
15:171e07ac910f 17:c8156a91d13c
   477             {
   477             {
   478             CMPXMedia* origMedia( iMedia->AtL( entriesCount - 1 ) );
   478             CMPXMedia* origMedia( iMedia->AtL( entriesCount - 1 ) );
   479             if ( origMedia->ValueText(KMPXMediaGeneralTitle ).Length() == 0 )
   479             if ( origMedia->ValueText(KMPXMediaGeneralTitle ).Length() == 0 )
   480                 {
   480                 {
   481                 HBufC* text = StringLoader::LoadLC(
   481                 HBufC* text = StringLoader::LoadLC(
   482                     R_MPX_QTN_NMP_UNKNOWN_TITLE );
   482                     R_MPX_PODCAST_UNKNOWN );
   483                 origMedia->SetTextValueL(KMPXMediaGeneralTitle,
   483                 origMedia->SetTextValueL(KMPXMediaGeneralTitle,
   484                     *text );
   484                     *text );
   485                 CleanupStack::PopAndDestroy( text );
   485                 CleanupStack::PopAndDestroy( text );
   486                 }
   486                 }
   487             }
   487             }
   491         if ( iContainerMedia->IsSupported(KMPXMediaGeneralTitle) )
   491         if ( iContainerMedia->IsSupported(KMPXMediaGeneralTitle) )
   492             {
   492             {
   493             if ( iContainerMedia->ValueText(KMPXMediaGeneralTitle).Length() == 0 )
   493             if ( iContainerMedia->ValueText(KMPXMediaGeneralTitle).Length() == 0 )
   494                 {
   494                 {
   495                 HBufC* text = StringLoader::LoadLC(
   495                 HBufC* text = StringLoader::LoadLC(
   496                     R_MPX_QTN_NMP_UNKNOWN_TITLE );
   496                     R_MPX_TITLE_UNKNOWN_PODCAST );
   497                 iContainerMedia->SetTextValueL(KMPXMediaGeneralTitle,
   497                 iContainerMedia->SetTextValueL(KMPXMediaGeneralTitle,
   498                     *text );
   498                     *text );
   499                 CleanupStack::PopAndDestroy( text );
   499                 CleanupStack::PopAndDestroy( text );
   500                 }
   500                 }
   501             }
   501             }