videocollection/mpxmyvideoscollection/src/vcxmyvideosmdsalbums.cpp
changeset 40 13331705e488
parent 39 f6d44a0cd476
child 55 4bfa887905cf
equal deleted inserted replaced
39:f6d44a0cd476 40:13331705e488
   444     // MDS ID
   444     // MDS ID
   445     
   445     
   446     // TITLE (NAME)
   446     // TITLE (NAME)
   447     if ( aAlbum.IsSupported( KMPXMediaGeneralTitle ) )
   447     if ( aAlbum.IsSupported( KMPXMediaGeneralTitle ) )
   448         {
   448         {
       
   449         if ( TVcxMyVideosCollectionUtil::Title( aAlbum ).Length() > KVcxMvcMaxTitleLength )
       
   450             {
       
   451             User::Leave( KErrArgument );
       
   452             }
       
   453         
   449         if ( aObject.Property( *iMdsDb.iTitlePropertyDef, property, 0 ) != KErrNotFound )
   454         if ( aObject.Property( *iMdsDb.iTitlePropertyDef, property, 0 ) != KErrNotFound )
   450             {
   455             {
   451             static_cast<CMdETextProperty*>(property)->SetValueL(
   456             static_cast<CMdETextProperty*>(property)->SetValueL(
   452                     aAlbum.ValueText( KMPXMediaGeneralTitle ) );
   457                     aAlbum.ValueText( KMPXMediaGeneralTitle ) );
   453             }
   458             }