messagingfw/msgsrvnstore/server/src/CMsvAttachmentManager.cpp
branchRCL_3
changeset 23 d51193d814ea
parent 22 d2c4c66342f3
--- 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));
 		}