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