summaryrefslogtreecommitdiff
path: root/sw/source/core/layout
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-12 22:00:15 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-13 11:03:08 +0100
commitf723a62cb5e0e37e56f341f4641ab3fd05bbc8dd (patch)
tree7483a85b7490eaadfbfef62101afee13f0598497 /sw/source/core/layout
parent306d4f0b6df1df4a92613d17bdc4fcfb306e7854 (diff)
sw: loplugin:badstatics: actually these are harmless
... but there's no point in them being static either. Change-Id: I49931289560da9de7a2e79577e525872d316cc4e
Diffstat (limited to 'sw/source/core/layout')
-rw-r--r--sw/source/core/layout/paintfrm.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 359c135760db..25bf3c75f9d4 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -6106,7 +6106,7 @@ static void lcl_paintBitmapExToRect(vcl::RenderContext *pOut, const Point& aPoin
static vcl::DeleteOnDeinit< drawinglayer::primitive2d::DiscreteShadow > shadowMaskObj
( new drawinglayer::primitive2d::DiscreteShadow( SW_RES( BMP_PAGE_SHADOW_MASK ) ));
- static drawinglayer::primitive2d::DiscreteShadow& shadowMask = *shadowMaskObj.get();
+ drawinglayer::primitive2d::DiscreteShadow& shadowMask = *shadowMaskObj.get();
static vcl::DeleteOnDeinit< BitmapEx > aPageTopRightShadowObj( new BitmapEx );
static vcl::DeleteOnDeinit< BitmapEx > aPageBottomRightShadowObj( new BitmapEx );
static vcl::DeleteOnDeinit< BitmapEx > aPageBottomLeftShadowObj( new BitmapEx );
@@ -6115,14 +6115,14 @@ static void lcl_paintBitmapExToRect(vcl::RenderContext *pOut, const Point& aPoin
static vcl::DeleteOnDeinit< BitmapEx > aPageTopShadowBaseObj( new BitmapEx );
static vcl::DeleteOnDeinit< BitmapEx > aPageTopLeftShadowObj( new BitmapEx );
static vcl::DeleteOnDeinit< BitmapEx > aPageLeftShadowBaseObj( new BitmapEx );
- static BitmapEx& aPageTopRightShadow = *aPageTopRightShadowObj.get();
- static BitmapEx& aPageBottomRightShadow = *aPageBottomRightShadowObj.get();
- static BitmapEx& aPageBottomLeftShadow = *aPageBottomLeftShadowObj.get();
- static BitmapEx& aPageBottomShadow = *aPageBottomShadowBaseObj.get();
- static BitmapEx& aPageRightShadow = *aPageRightShadowBaseObj.get();
- static BitmapEx& aPageTopShadow = *aPageTopShadowBaseObj.get();
- static BitmapEx& aPageTopLeftShadow = *aPageTopLeftShadowObj.get();
- static BitmapEx& aPageLeftShadow = *aPageLeftShadowBaseObj.get();
+ BitmapEx& aPageTopRightShadow = *aPageTopRightShadowObj.get();
+ BitmapEx& aPageBottomRightShadow = *aPageBottomRightShadowObj.get();
+ BitmapEx& aPageBottomLeftShadow = *aPageBottomLeftShadowObj.get();
+ BitmapEx& aPageBottomShadow = *aPageBottomShadowBaseObj.get();
+ BitmapEx& aPageRightShadow = *aPageRightShadowBaseObj.get();
+ BitmapEx& aPageTopShadow = *aPageTopShadowBaseObj.get();
+ BitmapEx& aPageTopLeftShadow = *aPageTopLeftShadowObj.get();
+ BitmapEx& aPageLeftShadow = *aPageLeftShadowBaseObj.get();
static Color aShadowColor( COL_AUTO );
SwRect aAlignedPageRect( _rPageRect );