summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/ColorPropertySet.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-23 11:06:14 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-24 06:46:01 +0000
commit6a5e30d52c345cbeb89eab0722fe866db0d62fc6 (patch)
tree183b1012d2a9ade2a598796cd848ecc292448994 /xmloff/source/chart/ColorPropertySet.cxx
parent24ca187b6370ca56c8acd92bc405028dd9deb5f2 (diff)
loplugin:singlevalfields in xmlhelp,xmloff
Change-Id: Ia40d1c9a153b5237c46d5a2b807dceff30775f4a Reviewed-on: https://gerrit.libreoffice.org/26589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/chart/ColorPropertySet.cxx')
-rw-r--r--xmloff/source/chart/ColorPropertySet.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/chart/ColorPropertySet.cxx b/xmloff/source/chart/ColorPropertySet.cxx
index a14eeec48462..cba1746a9135 100644
--- a/xmloff/source/chart/ColorPropertySet.cxx
+++ b/xmloff/source/chart/ColorPropertySet.cxx
@@ -88,7 +88,6 @@ ColorPropertySet::ColorPropertySet( sal_Int32 nColor ) :
// note: length of FillColor and LineColor is 9
m_aColorPropName( "FillColor", 9, RTL_TEXTENCODING_ASCII_US ),
m_nColor( nColor ),
- m_bIsFillColor( true ),
m_nDefaultColor( 0x0099ccff ) // blue 8
{}
@@ -101,7 +100,7 @@ Reference< XPropertySetInfo > SAL_CALL ColorPropertySet::getPropertySetInfo()
throw (uno::RuntimeException, std::exception)
{
if( ! m_xInfo.is())
- m_xInfo.set( new lcl_ColorPropertySetInfo( m_bIsFillColor ));
+ m_xInfo.set( new lcl_ColorPropertySetInfo( true/*bIsFillColor*/ ));
return m_xInfo;
}