summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porfld.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 11:42:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 17:55:01 +0000
commite8260df1d67baf807771cd5c740164a227856515 (patch)
treefbf45c4cdede1d4fcb880342e544fa58cb23e3a6 /sw/source/core/text/porfld.cxx
parent52350c15b37573e160f25d39565f577fc7189955 (diff)
loplugin:expandablemethodds in sw(part2)
Change-Id: Idc2118899a8063099b66c0f5db40d8402db063d1 Reviewed-on: https://gerrit.libreoffice.org/30083 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/text/porfld.cxx')
-rw-r--r--sw/source/core/text/porfld.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/text/porfld.cxx b/sw/source/core/text/porfld.cxx
index b06affbf068e..4f24e63b33f0 100644
--- a/sw/source/core/text/porfld.cxx
+++ b/sw/source/core/text/porfld.cxx
@@ -87,7 +87,7 @@ SwFieldPortion::SwFieldPortion( const SwFieldPortion& rField )
: SwExpandPortion( rField )
, aExpand( rField.GetExp() )
, nNextOffset( rField.GetNextOffset() )
- , nNextScriptChg( rField.GetNextScriptChg() )
+ , nNextScriptChg( rField.nNextScriptChg )
, nViewWidth( rField.nViewWidth )
, bFollow( rField.IsFollow() )
, bLeft( rField.IsLeft() )
@@ -839,7 +839,7 @@ bool SwGrfNumPortion::Format( SwTextFormatInfo &rInf )
if( bFly )
{
SetLen( 0 );
- SetNoPaint( true );
+ bNoPaint = true;
rInf.SetNumDone( false );
return true;
}
@@ -881,7 +881,7 @@ bool SwGrfNumPortion::Format( SwTextFormatInfo &rInf )
*/
void SwGrfNumPortion::Paint( const SwTextPaintInfo &rInf ) const
{
- if( DontPaint() )
+ if( bNoPaint )
return;
if ( IsHide() && rInf.GetParaPortion() && rInf.GetParaPortion()->GetNext() )
{