diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/ColorPropertySet.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/chart/ColorPropertySet.cxx b/xmloff/source/chart/ColorPropertySet.cxx index cba1746a9135..0494864d1631 100644 --- a/xmloff/source/chart/ColorPropertySet.cxx +++ b/xmloff/source/chart/ColorPropertySet.cxx @@ -36,7 +36,7 @@ class lcl_ColorPropertySetInfo : public ::cppu::WeakImplHelper< XPropertySetInfo > { public: - explicit lcl_ColorPropertySetInfo( bool bFillColor ); + explicit lcl_ColorPropertySetInfo(); protected: // ____ XPropertySetInfo ____ @@ -49,9 +49,9 @@ private: Property m_aColorProp; }; -lcl_ColorPropertySetInfo::lcl_ColorPropertySetInfo( bool bFillColor ) : +lcl_ColorPropertySetInfo::lcl_ColorPropertySetInfo() : // note: length of FillColor and LineColor is 9 - m_aColorPropName( (bFillColor ? "FillColor" : "LineColor"), 9, RTL_TEXTENCODING_ASCII_US ), + m_aColorPropName( "FillColor", 9, RTL_TEXTENCODING_ASCII_US ), m_aColorProp( m_aColorPropName, -1, cppu::UnoType<sal_Int32>::get(), 0) {} @@ -100,7 +100,7 @@ Reference< XPropertySetInfo > SAL_CALL ColorPropertySet::getPropertySetInfo() throw (uno::RuntimeException, std::exception) { if( ! m_xInfo.is()) - m_xInfo.set( new lcl_ColorPropertySetInfo( true/*bIsFillColor*/ )); + m_xInfo.set( new lcl_ColorPropertySetInfo ); return m_xInfo; } |