#i10000#: for scope
This commit is contained in:
parent
46e4568ed3
commit
244b954763
1 changed files with 4 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: texteng.cxx,v $
|
* $RCSfile: texteng.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.30 $
|
* $Revision: 1.31 $
|
||||||
*
|
*
|
||||||
* last change: $Author: kz $ $Date: 2004-01-19 17:55:45 $
|
* last change: $Author: hr $ $Date: 2004-03-11 14:48:16 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -1848,7 +1848,8 @@ void TextEngine::CreateTextPortions( ULONG nPara, USHORT nStartPos )
|
||||||
// nicht uebereinstimmen, da evtl. Zeilenumbrueche...
|
// nicht uebereinstimmen, da evtl. Zeilenumbrueche...
|
||||||
USHORT nPortionStart = 0;
|
USHORT nPortionStart = 0;
|
||||||
USHORT nInvPortion = 0;
|
USHORT nInvPortion = 0;
|
||||||
for ( USHORT nP = 0; nP < pTEParaPortion->GetTextPortions().Count(); nP++ )
|
USHORT nP;
|
||||||
|
for ( nP = 0; nP < pTEParaPortion->GetTextPortions().Count(); nP++ )
|
||||||
{
|
{
|
||||||
TETextPortion* pTmpPortion = pTEParaPortion->GetTextPortions().GetObject(nP);
|
TETextPortion* pTmpPortion = pTEParaPortion->GetTextPortions().GetObject(nP);
|
||||||
nPortionStart += pTmpPortion->GetLen();
|
nPortionStart += pTmpPortion->GetLen();
|
||||||
|
|
Loading…
Reference in a new issue