--- a/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/t_processfilemanrename.cpp Mon May 03 14:06:43 2010 +0300
+++ b/lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/t_processfilemanrename.cpp Tue Jul 20 16:35:53 2010 +0530
@@ -24,8 +24,13 @@
TInt DoRenameFileL(const TDesC& anOld,const TDesC& aNew)
{
+ TInt r = KErrNone;
RFs fs;
- fs.Connect();
+ r = fs.Connect();
+ if (r != KErrNone)
+ {
+ User::Leave(r);
+ }
CFileMan* fileMan = CFileMan::NewL(fs);
CleanupStack::PushL(fileMan);
// Ensure the path exists