idlehomescreen/nativeuicontroller/src/aistatuspanetouchui.cpp
branchRCL_3
changeset 102 ba63c83f4716
parent 88 3321d3e205b6
--- a/idlehomescreen/nativeuicontroller/src/aistatuspanetouchui.cpp	Wed Sep 15 12:00:00 2010 +0300
+++ b/idlehomescreen/nativeuicontroller/src/aistatuspanetouchui.cpp	Wed Oct 13 14:18:30 2010 +0300
@@ -30,7 +30,7 @@
 #include <hscontentpublisher.h>
 #include <hspublisherinfo.h>
 #include <aidevicestatuscontentmodel.h>
-#include <ainativeui.rsg>
+#include <AiNativeUi.rsg>
 
 // User includes
 #include "aistrcnv.h"
@@ -334,9 +334,8 @@
           iProfileNamePointerArray.Remove( aIndex - 1);
           }
 
-        HBufC* name = aText.AllocLC();
-        iProfileNamePointerArray.InsertL( name, aIndex - 1 );
-        CleanupStack::Pop( name );
+        HBufC* name = aText.AllocL();
+        iProfileNamePointerArray.Insert( name, aIndex - 1 );
         break;
         }
         default: