equal
deleted
inserted
replaced
567 HBufC* fullPath = iEngine.IndexToFullPathLC( files->At( i ) ); |
567 HBufC* fullPath = iEngine.IndexToFullPathLC( files->At( i ) ); |
568 msgData->AppendAttachmentL( *fullPath ); |
568 msgData->AppendAttachmentL( *fullPath ); |
569 CleanupStack::PopAndDestroy( fullPath ); |
569 CleanupStack::PopAndDestroy( fullPath ); |
570 } |
570 } |
571 // Let SendUi handle protected files, queries and filtering |
571 // Let SendUi handle protected files, queries and filtering |
572 sendUi.ShowQueryAndSendL( msgData, caps, servicesToDim ); |
572 TRAPD( err, sendUi.ShowQueryAndSendL( msgData, caps, servicesToDim ) ); |
|
573 if ( err == KErrTooBig ) |
|
574 { |
|
575 FileManagerDlgUtils::ShowErrorNoteL( R_QTN_FMGR_FILE_SIZE_TOO_LARGE ); |
|
576 } |
|
577 else |
|
578 { |
|
579 User::LeaveIfError( err ); |
|
580 } |
573 CleanupStack::PopAndDestroy( servicesToDim ); |
581 CleanupStack::PopAndDestroy( servicesToDim ); |
574 } |
582 } |
575 CleanupStack::PopAndDestroy( files ); |
583 CleanupStack::PopAndDestroy( files ); |
576 CleanupStack::PopAndDestroy( msgData ); |
584 CleanupStack::PopAndDestroy( msgData ); |
577 |
585 |