summaryrefslogtreecommitdiff
path: root/sw/source/core/layout
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-12 21:57:52 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-13 11:03:08 +0100
commitcc77a2a8f3447b02d33a224df627f6500adc158f (patch)
tree4772a85747caa8769fc994271f955780d17d949f /sw/source/core/layout
parentf723a62cb5e0e37e56f341f4641ab3fd05bbc8dd (diff)
sw: loplugin:badstatics: convert static SwViewShell::mpReplaceBmp
... and mpErrorBmp to actual members (not just in name only). Change-Id: Id02553451f1990dbc111e9c842247764bf7554bc
Diffstat (limited to 'sw/source/core/layout')
-rw-r--r--sw/source/core/layout/paintfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 25bf3c75f9d4..54d8a82b40db 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2306,7 +2306,7 @@ void DrawGraphic(
if( bReplaceGrfNum )
{
- const BitmapEx& rBmp = SwViewShell::GetReplacementBitmap( false );
+ const BitmapEx& rBmp = rSh.GetReplacementBitmap(false);
vcl::Font aTmp( pOutDev->GetFont() );
Graphic::DrawEx( pOutDev, aEmptyOUStr, aTmp, rBmp, rOrg.Pos(), rOrg.SSize() );
}