equal
deleted
inserted
replaced
377 |
377 |
378 */ |
378 */ |
379 void CAknTextControl::SetWrappedTextIntoLabelsL(const CArrayFix<TPtrC>& aWrappedArray, TInt aNumLines, const CFont* aFont) |
379 void CAknTextControl::SetWrappedTextIntoLabelsL(const CArrayFix<TPtrC>& aWrappedArray, TInt aNumLines, const CFont* aFont) |
380 { |
380 { |
381 __ASSERT_DEBUG(aNumLines == iNumberOfLines, Panic(EAknPanicSelfCheckFailure)); |
381 __ASSERT_DEBUG(aNumLines == iNumberOfLines, Panic(EAknPanicSelfCheckFailure)); |
382 |
382 aNumLines = aNumLines ; // just for fixing warning |
383 for (TInt i=0; i < iNumberOfLines; i++) |
383 for (TInt i=0; i < iNumberOfLines; i++) |
384 { |
384 { |
385 |
385 |
386 if (Line(i)->BufferReserveLength() < aWrappedArray.At(i).Length()) |
386 if (Line(i)->BufferReserveLength() < aWrappedArray.At(i).Length()) |
387 Line(i)->SetBufferReserveLengthL(aWrappedArray.At(i).Length()); |
387 Line(i)->SetBufferReserveLengthL(aWrappedArray.At(i).Length()); |