mobilemessaging/unieditor/utils/src/UniSlideLoader.cpp
changeset 1 d09ac5c1e252
parent 0 72b543305e3a
equal deleted inserted replaced
0:72b543305e3a 1:d09ac5c1e252
   641     TBool drmRightsValid( DrmRightsValid( aObject ) );
   641     TBool drmRightsValid( DrmRightsValid( aObject ) );
   642     if ( aObject )
   642     if ( aObject )
   643         {
   643         {
   644         aObject->SetDrmRightsWhenLoaded( drmRightsValid );
   644         aObject->SetDrmRightsWhenLoaded( drmRightsValid );
   645         }
   645         }
   646     if ( aObject && drmRightsValid )
   646     if ( ( aObject && drmRightsValid )  
       
   647 #ifdef RD_SVGT_IN_MESSAGING
       
   648           || ( ( aObject &&  aObject->MediaType() == EMsgMediaSvg ) 
       
   649                               &&  !drmRightsValid  )
       
   650 #endif 
       
   651        )
   647         {
   652         {
   648         RFile file = CUniDataUtils::GetAttachmentFileL( iDataModel.Mtm(), aObject->AttachmentId() );
   653         RFile file = CUniDataUtils::GetAttachmentFileL( iDataModel.Mtm(), aObject->AttachmentId() );
   649         CleanupClosePushL( file );
   654         CleanupClosePushL( file );
   650 
   655 
   651         TRAPD( error, aMediaControl.LoadL( file ) );
   656         TRAPD( error, aMediaControl.LoadL( file ) );