idlefw/src/framework/aiuicontrollermanager.cpp
branchRCL_3
changeset 130 67f2ed48ad91
parent 118 8baec10861af
--- a/idlefw/src/framework/aiuicontrollermanager.cpp	Wed Sep 15 12:32:36 2010 +0300
+++ b/idlefw/src/framework/aiuicontrollermanager.cpp	Wed Oct 13 14:53:46 2010 +0300
@@ -55,9 +55,9 @@
     User::LeaveIfError( aRepository.Get( KAiMainUIController, value ) );
     
     CAiUiController* controller = CAiUiController::NewL( TUid::Uid( value ) );
+    
+    iCreatedUICList.Append( value );
     CleanupStack::PushL( controller );
-
-    iCreatedUICList.AppendL( value );   
     
     iMainUiController = controller->MainInterface();
     
@@ -98,7 +98,7 @@
             continue;
             }
         
-        iCreatedUICList.AppendL( value );
+        iCreatedUICList.Append( value );
         
         CAiUiController* controller = 
             CAiUiController::NewL( TUid::Uid( value ) );