browserui/browser/BrowserAppSrc/BrowserShortcutKeyMap.cpp
branchRCL_3
changeset 46 4baee4f15982
parent 25 92a061761a7b
equal deleted inserted replaced
45:5a044f6358c2 46:4baee4f15982
   331 void CBrowserShortcutKeyMap::InitCellDataL()
   331 void CBrowserShortcutKeyMap::InitCellDataL()
   332     {
   332     {
   333     for(TInt i = 0; i < KNumCells; i++)
   333     for(TInt i = 0; i < KNumCells; i++)
   334         {
   334         {
   335         TKeymapCellData* cellData = new (ELeave) TKeymapCellData();
   335         TKeymapCellData* cellData = new (ELeave) TKeymapCellData();
       
   336         CleanupStack::PushL(cellData);
   336 
   337 
   337         TInt shortcutAssign;
   338         TInt shortcutAssign;
   338 
   339 
   339         // get the shortcut assignment from Browser Prefs
   340         // get the shortcut assignment from Browser Prefs
   340         switch(i)
   341         switch(i)
   407             }
   408             }
   408 
   409 
   409         // add to the data array
   410         // add to the data array
   410         iCellData.Append(cellData);
   411         iCellData.Append(cellData);
   411 
   412 
   412         // remove keytext, linetext from stack
   413         // remove cellData, keytext, linetext from stack
   413         CleanupStack::Pop(2);
   414         CleanupStack::Pop(3);
   414         }
   415         }
   415     }
   416     }
   416 
   417 
   417 
   418 
   418 
   419