--- a/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/t_processfilemanrename.cpp Tue Aug 31 16:54:36 2010 +0300
+++ b/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/t_processfilemanrename.cpp Wed Sep 01 12:36:54 2010 +0100
@@ -24,13 +24,8 @@
TInt DoRenameFileL(const TDesC& anOld,const TDesC& aNew)
{
- TInt r = KErrNone;
RFs fs;
- r = fs.Connect();
- if (r != KErrNone)
- {
- User::Leave(r);
- }
+ fs.Connect();
CFileMan* fileMan = CFileMan::NewL(fs);
CleanupStack::PushL(fileMan);
// Ensure the path exists