diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-25 18:40:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-26 10:57:03 +0200 |
commit | ac2d415a52f22caf0012b7d9b17d015aca27db9d (patch) | |
tree | 5c2f153ea470ff77dd00109d3006547869e9b332 /sc/source/filter/excel/xlchart.cxx | |
parent | 47f0e83989c4c03d9690229b6433a5541032a3eb (diff) |
loplugin:oncevar in sc
Change-Id: Ice59e286debb6bd0eb692f2b2b0c2c5087c069c0
Reviewed-on: https://gerrit.libreoffice.org/39239
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel/xlchart.cxx')
-rw-r--r-- | sc/source/filter/excel/xlchart.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xlchart.cxx b/sc/source/filter/excel/xlchart.cxx index 655d4abce789..638c65f981c5 100644 --- a/sc/source/filter/excel/xlchart.cxx +++ b/sc/source/filter/excel/xlchart.cxx @@ -992,7 +992,6 @@ void XclChPropSetHelper::WriteAreaProperties( ScfPropertySet& rPropSet, namespace cssd = ::com::sun::star::drawing; cssd::FillStyle eFillStyle = cssd::FillStyle_NONE; Color aColor; - sal_Int16 nTransparency = 0; // fill color if( rAreaFmt.mnPattern != EXC_PATT_NONE ) @@ -1004,7 +1003,7 @@ void XclChPropSetHelper::WriteAreaProperties( ScfPropertySet& rPropSet, // write the properties ScfPropSetHelper& rAreaHlp = GetAreaHelper( ePropMode ); rAreaHlp.InitializeWrite(); - rAreaHlp << eFillStyle << aColor << nTransparency; + rAreaHlp << eFillStyle << aColor << 0/*nTransparency*/; rAreaHlp.WriteToPropertySet( rPropSet ); } |