idlehomescreen/nativeuicontroller/src/aistatuspanetouchui.cpp
branchRCL_3
changeset 35 3321d3e205b6
parent 34 5456b4e8b3a8
equal deleted inserted replaced
34:5456b4e8b3a8 35:3321d3e205b6
    28 #include <touchfeedback.h>
    28 #include <touchfeedback.h>
    29 #endif
    29 #endif
    30 #include <hscontentpublisher.h>
    30 #include <hscontentpublisher.h>
    31 #include <hspublisherinfo.h>
    31 #include <hspublisherinfo.h>
    32 #include <aidevicestatuscontentmodel.h>
    32 #include <aidevicestatuscontentmodel.h>
    33 #include <AiNativeUi.rsg>
    33 #include <ainativeui.rsg>
    34 
    34 
    35 // User includes
    35 // User includes
    36 #include "aistrcnv.h"
    36 #include "aistrcnv.h"
    37 #include "aistatuspanetouchui.h"
    37 #include "aistatuspanetouchui.h"
    38 #include "aistatuspanel.h"
    38 #include "aistatuspanel.h"
   332           {
   332           {
   333           delete iProfileNamePointerArray[ aIndex - 1 ];
   333           delete iProfileNamePointerArray[ aIndex - 1 ];
   334           iProfileNamePointerArray.Remove( aIndex - 1);
   334           iProfileNamePointerArray.Remove( aIndex - 1);
   335           }
   335           }
   336 
   336 
   337         HBufC* name = aText.AllocL();
   337         HBufC* name = aText.AllocLC();
   338         iProfileNamePointerArray.Insert( name, aIndex - 1 );
   338         iProfileNamePointerArray.InsertL( name, aIndex - 1 );
       
   339         CleanupStack::Pop( name );
   339         break;
   340         break;
   340         }
   341         }
   341         default:
   342         default:
   342           {
   343           {
   343           break;
   344           break;