diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:20:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:27:27 +0200 |
commit | 2c6840eb95eb925be78f2b5279594ef5c71c2e98 (patch) | |
tree | e51faa80bc33355f2224311f8b7ec0f10ef2da0d /sw/source/core/layout/calcmove.cxx | |
parent | bb34461d280d499d93ef982e9b7391fd791ffa35 (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5c33d8ed3551d9ad4432824995bfdc3f73cfc5f8
Diffstat (limited to 'sw/source/core/layout/calcmove.cxx')
-rw-r--r-- | sw/source/core/layout/calcmove.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx index a69cb4a19545..d8ad7ffd018f 100644 --- a/sw/source/core/layout/calcmove.cxx +++ b/sw/source/core/layout/calcmove.cxx @@ -1135,7 +1135,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) // as long as bMovedFwd is false, the Frame may flow backwards (until // it has been moved forward once) bool bMovedFwd = false; - sal_Bool bFormatted = sal_False; // For the widow/orphan rules, we encourage the + sal_Bool bFormatted = false; // For the widow/orphan rules, we encourage the // last ContentFrame of a chain to format. This only // needs to happen once. Every time the Frame is // moved, the flag will have to be reset. @@ -1380,7 +1380,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) if ( !mbValidSize ) { mbValidSize = true; - bFormatted = sal_True; + bFormatted = true; ++nFormatCount; if( nFormatCount > STOP_FLY_FORMAT ) SetFlyLock( true ); @@ -1412,7 +1412,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) { SWREFRESHFN( this ) bMovedBwd = true; - bFormatted = sal_False; + bFormatted = false; if ( bKeep && bMoveable ) { if( CheckMoveFwd( bMakePage, false, bMovedBwd ) ) @@ -1440,7 +1440,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) if( GetFollow() ) Prepare( PREP_WIDOWS_ORPHANS, nullptr, false ); mbValidSize = true; - bFormatted = sal_True; + bFormatted = true; Format(getRootFrame()->GetCurrShell()->GetOut()); } } @@ -1699,7 +1699,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) bMovedFwd = true; } - bFormatted = sal_False; + bFormatted = false; if ( bMoveOrFit && GetUpper() == pOldUp ) { // FME 2007-08-30 #i81146# new loop control |