From e8260df1d67baf807771cd5c740164a227856515 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 20 Oct 2016 11:42:50 +0200 Subject: loplugin:expandablemethodds in sw(part2) Change-Id: Idc2118899a8063099b66c0f5db40d8402db063d1 Reviewed-on: https://gerrit.libreoffice.org/30083 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sw/source/core/text/porfld.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/core/text/porfld.cxx') 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() ) { -- cgit v1.2.3