equal
deleted
inserted
replaced
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 |