uifw/AvKon/src/akntextcontrol.cpp
branchRCL_3
changeset 20 d48ab3b357f1
parent 19 aecbbf00d063
equal deleted inserted replaced
19:aecbbf00d063 20:d48ab3b357f1
   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());