diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:28:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 17:33:55 +0100 |
commit | d197d524c5292cf6d66be802ec7d1fed78e30416 (patch) | |
tree | ed1c3f2476cc557a776b9f6aabc56be3bb5b8534 /sw/source/core/layout/paintfrm.cxx | |
parent | 80751cd90d007a19143e13bf69c7e317b7d4afc9 (diff) |
loplugin:staticmethods in sfx2
Change-Id: Ide10d0186431e745c3bb17d321cf46724e801c8f
Reviewed-on: https://gerrit.libreoffice.org/63404
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/paintfrm.cxx')
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 67979b8d4984..b7abc1e3453b 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -3331,7 +3331,7 @@ void SwLayoutFrame::PaintSwFrame(vcl::RenderContext& rRenderContext, SwRect cons if( aShortCut.Stop( aPaintRect ) ) break; if ( bCnt && gProp.pSProgress ) - gProp.pSProgress->Reschedule(); + SfxProgress::Reschedule(); //We need to retouch if a frame explicitly requests it. //First do the retouch, because this could flatten the borders. @@ -4092,7 +4092,7 @@ void SwFlyFrame::PaintSwFrame(vcl::RenderContext& rRenderContext, SwRect const& rRenderContext.Pop(); if ( gProp.pSProgress && pNoText ) - gProp.pSProgress->Reschedule(); + SfxProgress::Reschedule(); } void SwTabFrame::PaintSwFrame(vcl::RenderContext& rRenderContext, SwRect const& rRect, SwPrintData const*const) const @@ -6292,7 +6292,7 @@ void SwFrame::PaintSwFrameBackground( const SwRect &rRect, const SwPageFrame *pP SwShortCut aShortCut( *pFrame, aBorderRect ); do { if ( gProp.pSProgress ) - gProp.pSProgress->Reschedule(); + SfxProgress::Reschedule(); aFrameRect = pFrame->GetPaintArea(); if ( aFrameRect.IsOver( aBorderRect ) ) |