--- a/messagingfw/msgsrvnstore/server/src/CMsvAttachmentManager.cpp Tue Aug 31 15:41:11 2010 +0300
+++ b/messagingfw/msgsrvnstore/server/src/CMsvAttachmentManager.cpp Wed Sep 01 12:27:27 2010 +0100
@@ -436,8 +436,8 @@
else // attachment->iType == ELinkedFile
{
RFs fs;
- User::LeaveIfError(fs.Connect());
- User::LeaveIfError(fs.ShareProtected());
+ fs.Connect();
+ fs.ShareProtected();
User::LeaveIfError(attachmentFile.Open(fs, attachment->FilePath(), EFileRead | EFileShareReadersOnly));
}
@@ -470,8 +470,8 @@
else // attachment->iType == ELinkedFile
{
RFs fs;
- User::LeaveIfError(fs.Connect());
- User::LeaveIfError(fs.ShareProtected());
+ fs.Connect();
+ fs.ShareProtected();
User::LeaveIfError(attachmentFile.Open(fs, attachment->FilePath(), EFileWrite));
}