equal
deleted
inserted
replaced
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 } |