diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-03-07 14:51:42 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-03-08 07:24:10 +0100 |
commit | 9031da9a86500c1bc8a5b5b1a4b46ad4778fc777 (patch) | |
tree | d1b4ea7a8952ae85a39616ebe6e67711dd6bb38d /sw | |
parent | 10b1a453dcea579c04691333ed77198072e712b7 (diff) |
Make variable name more descriptive
Change-Id: I8791d0f2cc33813c6034b771fa1f699143c3cfac
Reviewed-on: https://gerrit.libreoffice.org/68877
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/itrpaint.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx index 6bcf2a4378ad..e9e6961e38e7 100644 --- a/sw/source/core/text/itrpaint.cxx +++ b/sw/source/core/text/itrpaint.cxx @@ -134,7 +134,7 @@ SwLinePortion *SwTextPainter::CalcPaintOfst( const SwRect &rPaint ) // (objectively slow, subjectively fast) // Since the user usually judges subjectively the second method is set as default. void SwTextPainter::DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip, - const bool bUnderSz ) + const bool bUnderSized ) { #if OSL_DEBUG_LEVEL > 1 // sal_uInt16 nFntHeight = GetInfo().GetFont()->GetHeight( GetInfo().GetVsh(), GetInfo().GetOut() ); @@ -200,7 +200,7 @@ void SwTextPainter::DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip, // bClip decides if there's a need to clip // The whole thing must be done before retouching - bool bClip = ( bDrawInWindow || bUnderSz ) && !rClip.IsChg(); + bool bClip = ( bDrawInWindow || bUnderSized ) && !rClip.IsChg(); if( bClip && pPor ) { // If TopLeft or BottomLeft of the line are outside, the we must clip. @@ -456,7 +456,7 @@ void SwTextPainter::DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip, GetTextFrame()->GetNext()->IsTextFrame() && static_cast<SwTextFrame*>(GetTextFrame()->GetNext())->IsUndersized() ) ; - if( bUnderSz || bNextUndersized ) + if( bUnderSized || bNextUndersized ) { if ( bAdjustBaseLine ) GetInfo().Y( GetInfo().GetPos().Y() + m_pCurr->GetAscent() ); |