--- a/messagingfw/senduiservices/src/SendUiImpl.cpp Wed Apr 14 16:27:44 2010 +0300
+++ b/messagingfw/senduiservices/src/SendUiImpl.cpp Tue Apr 27 17:08:58 2010 +0300
@@ -1386,8 +1386,6 @@
CSendUiFileRightsEngine* fileRightsEngine = CSendUiFileRightsEngine::NewLC( iCoeEnv->FsSession() );
cleanupItems++;
// Get attachments
- if ( aMessageData )
- {
attachments = CSendUiAttachment::InitAttachmentArrayLCC(
aMessageData->AttachmentArray(),
aMessageData->AttachmentHandleArray(),
@@ -1399,8 +1397,7 @@
//there are no attachments, so no point in checking the file rights at all.
CleanupStack::PopAndDestroy( cleanupItems );
return ETrue;
- }
- }
+ }
fileRightsEngine->ConfirmDrmFileRightsL( attachments );
if ( attachments->Count() <= 0 )
{