messagingfw/senduiservices/src/SendUiImpl.cpp
branchRCL_3
changeset 12 8147bfb6c710
parent 10 e174c577e901
child 21 e5b3a2155e1a
--- 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 )
         {