javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistboxlists.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 66 2455ef1f5bbc
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
   338 
   338 
   339 // ---------------------------------------------------------------------------
   339 // ---------------------------------------------------------------------------
   340 // CSwtListBoxLists::Cells
   340 // CSwtListBoxLists::Cells
   341 // ---------------------------------------------------------------------------
   341 // ---------------------------------------------------------------------------
   342 //
   342 //
   343 void CSwtListBoxLists::CellsL(
   343 void CSwtListBoxLists::Cells(
   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.AppendL(KSwtLbCells[aListType][i]);
   351         aCellArray.Append(KSwtLbCells[aListType][i]);
   352     }
   352     }
   353 }
   353 }
   354 
   354 
   355 // ---------------------------------------------------------------------------
   355 // ---------------------------------------------------------------------------
   356 // CSwtListBoxLists::IsListFormatted
   356 // CSwtListBoxLists::IsListFormatted