equal
deleted
inserted
replaced
1391 attachments = CSendUiAttachment::InitAttachmentArrayLCC( |
1391 attachments = CSendUiAttachment::InitAttachmentArrayLCC( |
1392 aMessageData->AttachmentArray(), |
1392 aMessageData->AttachmentArray(), |
1393 aMessageData->AttachmentHandleArray(), |
1393 aMessageData->AttachmentHandleArray(), |
1394 iCoeEnv->FsSession() ); |
1394 iCoeEnv->FsSession() ); |
1395 cleanupItems += 2; |
1395 cleanupItems += 2; |
|
1396 |
|
1397 if ( attachments->Count() == 0 ) |
|
1398 { |
|
1399 //there are no attachments, so no point in checking the file rights at all. |
|
1400 CleanupStack::PopAndDestroy( cleanupItems ); |
|
1401 return ETrue; |
|
1402 } |
1396 } |
1403 } |
1397 fileRightsEngine->ConfirmDrmFileRightsL( attachments ); |
1404 fileRightsEngine->ConfirmDrmFileRightsL( attachments ); |
1398 if ( attachments->Count() <= 0 ) |
1405 if ( attachments->Count() <= 0 ) |
1399 { |
1406 { |
1400 fileRightsEngine->ShowDrmAndMmsInfoL(); |
1407 fileRightsEngine->ShowDrmAndMmsInfoL(); |