--- a/mobilemessaging/unieditor/utils/src/UniSlideLoader.cpp Thu Dec 17 08:44:11 2009 +0200
+++ b/mobilemessaging/unieditor/utils/src/UniSlideLoader.cpp Thu Jan 07 12:45:05 2010 +0200
@@ -643,7 +643,12 @@
{
aObject->SetDrmRightsWhenLoaded( drmRightsValid );
}
- if ( aObject && drmRightsValid )
+ if ( ( aObject && drmRightsValid )
+#ifdef RD_SVGT_IN_MESSAGING
+ || ( ( aObject && aObject->MediaType() == EMsgMediaSvg )
+ && !drmRightsValid )
+#endif
+ )
{
RFile file = CUniDataUtils::GetAttachmentFileL( iDataModel.Mtm(), aObject->AttachmentId() );
CleanupClosePushL( file );