diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/itrform2.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/text/itrform2.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx index 2c055363c57a..4cee223db089 100644 --- a/sw/source/core/text/itrform2.cxx +++ b/sw/source/core/text/itrform2.cxx @@ -742,7 +742,7 @@ void SwTxtFormatter::CalcAdjustLine( SwLineLayout *pCurrent ) { CalcAdjLine( pCurrent ); // For e.g. centered fly we need to switch the RefPoint - // That's why bAllWays = sal_True + // That's why bAlways = sal_True UpdatePos( pCurrent, GetTopLeft(), GetStart(), sal_True ); } } @@ -2005,7 +2005,7 @@ void SwTxtFormatter::CalcUnclipped( SwTwips& rTop, SwTwips& rBottom ) void SwTxtFormatter::UpdatePos( SwLineLayout *pCurrent, Point aStart, - xub_StrLen nStartIdx, sal_Bool bAllWays ) const + xub_StrLen nStartIdx, sal_Bool bAlways ) const { OSL_ENSURE( ! pFrm->IsVertical() || pFrm->IsSwapped(), "SwTxtFormatter::UpdatePos with unswapped frame" ); @@ -2060,7 +2060,7 @@ void SwTxtFormatter::UpdatePos( SwLineLayout *pCurrent, Point aStart, // adjustment) could be relevant for a portion: We need to SetRefPoint // for FlyCntPortions. if( ( pPos->IsFlyCntPortion() || pPos->IsGrfNumPortion() ) - && ( bAllWays || !IsQuick() ) ) + && ( bAlways || !IsQuick() ) ) { pCurrent->MaxAscentDescent( nTmpAscent, nTmpDescent, nFlyAsc, nFlyDesc, pPos ); @@ -2114,7 +2114,7 @@ void SwTxtFormatter::UpdatePos( SwLineLayout *pCurrent, Point aStart, xub_StrLen nStIdx = aTmpInf.GetIdx(); do { - UpdatePos( pLay, aSt, nStIdx, bAllWays ); + UpdatePos( pLay, aSt, nStIdx, bAlways ); nStIdx = nStIdx + pLay->GetLen(); aSt.Y() += pLay->Height(); pLay = pLay->GetNext(); diff --git a/sw/source/core/text/itrform2.hxx b/sw/source/core/text/itrform2.hxx index b6a18ffa477b..832c95c3f898 100644 --- a/sw/source/core/text/itrform2.hxx +++ b/sw/source/core/text/itrform2.hxx @@ -112,7 +112,7 @@ class SwTxtFormatter : public SwTxtPainter Mainly to correct the X position. */ void UpdatePos( SwLineLayout *pCurr, Point aStart, xub_StrLen nStartIdx, - sal_Bool bAllWays = sal_False ) const; + sal_Bool bAlways = sal_False ) const; /** Set all anchored as character objects to the passed BaseLine |