gssettingsuis/Gs/GSFramework/src/GSPluginAndViewIdCache.cpp
branchRCL_3
changeset 14 9941bcf99348
parent 0 8c5d936e5675
--- a/gssettingsuis/Gs/GSFramework/src/GSPluginAndViewIdCache.cpp	Wed Apr 14 16:15:29 2010 +0300
+++ b/gssettingsuis/Gs/GSFramework/src/GSPluginAndViewIdCache.cpp	Tue Apr 27 16:56:32 2010 +0300
@@ -42,7 +42,7 @@
 // ---------------------------------------------------------------------------
 //
 CGSPluginAndViewIdCache::CGSPluginAndViewIdCache( CEikAppUi& aAppUi )
-:   iAppUi( aAppUi ), iLookupTable( &HashFunction, &HashIdentityRelation )
+:   iAppUi( aAppUi ), iFsSession(CCoeEnv::Static()->FsSession()),iLookupTable( &HashFunction, &HashIdentityRelation )
     {
     }
 
@@ -60,7 +60,6 @@
     DestroyShims();
     iLookupTable.Close();
     //
-    iFsSession.Close();
     }
 
 
@@ -72,7 +71,6 @@
 //
 void CGSPluginAndViewIdCache::ConstructL()
     {
-    User::LeaveIfError( iFsSession.Connect() );
     User::LeaveIfError( iFsSession.CreatePrivatePath( EDriveC ) );
     //
     iPlaceholderView = CGSPlaceholderView::NewL( iAppUi );