javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistboxlists.cpp
branchRCL_3
changeset 60 6c158198356e
parent 34 71c436fe3ce0
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
   338 
   338 
   339 // ---------------------------------------------------------------------------
   339 // ---------------------------------------------------------------------------
   340 // CSwtListBoxLists::Cells
   340 // CSwtListBoxLists::Cells
   341 // ---------------------------------------------------------------------------
   341 // ---------------------------------------------------------------------------
   342 //
   342 //
   343 void CSwtListBoxLists::Cells(
   343 void CSwtListBoxLists::CellsL(
   344     TInt aListType,
   344     TInt aListType,
   345     RArray<TInt>& aCellArray)
   345     RArray<TInt>& aCellArray)
   346 {
   346 {
   347     ASSERT(IsListType(aListType));
   347     ASSERT(IsListType(aListType));
   348     for (TInt i = 0; (KSwtLbCells[aListType][i] != ECellInvalid)
   348     for (TInt i = 0; (KSwtLbCells[aListType][i] != ECellInvalid)
   349             && (i < KMaxCellCount); i++)
   349             && (i < KMaxCellCount); i++)
   350     {
   350     {
   351         aCellArray.Append(KSwtLbCells[aListType][i]);
   351         aCellArray.AppendL(KSwtLbCells[aListType][i]);
   352     }
   352     }
   353 }
   353 }
   354 
   354 
   355 // ---------------------------------------------------------------------------
   355 // ---------------------------------------------------------------------------
   356 // CSwtListBoxLists::IsListFormatted
   356 // CSwtListBoxLists::IsListFormatted