diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 09:47:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 13:29:03 +0100 |
commit | 7383ab517030db0c2d7bf4f393f38743fbcaba04 (patch) | |
tree | 7d984b86256ea53d10d305d3ce392dca68b59347 /sw/source | |
parent | 29adb38857d1b1cfb486d5da958b12895a1e6120 (diff) |
loplugin:constantparam in f*
Change-Id: I87145db3af6c3eb180cea6b4244f98b00205a306
Reviewed-on: https://gerrit.libreoffice.org/44095
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/ww8/wrtw8esh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index e9fa1a83af68..c8a4b7677d3e 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -1892,7 +1892,7 @@ void SwBasicEscherEx::WriteBrushAttr(const SvxBrushItem &rBrush, } else { - sal_uInt32 nFillColor = GetColor(rBrush.GetColor(), false); + sal_uInt32 nFillColor = GetColor(rBrush.GetColor()); rPropOpt.AddOpt( ESCHER_Prop_fillColor, nFillColor ); rPropOpt.AddOpt( ESCHER_Prop_fillBackColor, nFillColor ^ 0xffffff ); rPropOpt.AddOpt( ESCHER_Prop_fNoFillHitTest, 0x100010 ); @@ -1929,7 +1929,7 @@ sal_Int32 SwBasicEscherEx::WriteFlyFrameAttr(const SwFrameFormat& rFormat, { if( bFirstLine ) { - sal_uInt32 nLineColor = GetColor(pLine->GetColor(), false); + sal_uInt32 nLineColor = GetColor(pLine->GetColor()); rPropOpt.AddOpt( ESCHER_Prop_lineColor, nLineColor ); rPropOpt.AddOpt( ESCHER_Prop_lineBackColor, nLineColor ^ 0xffffff ); |