diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/sidebar/ChartColorWrapper.cxx | 4 | ||||
-rw-r--r-- | chart2/source/controller/sidebar/ChartColorWrapper.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/sidebar/ChartColorWrapper.cxx b/chart2/source/controller/sidebar/ChartColorWrapper.cxx index 9340ed1c2028..08fbcdb1b6a9 100644 --- a/chart2/source/controller/sidebar/ChartColorWrapper.cxx +++ b/chart2/source/controller/sidebar/ChartColorWrapper.cxx @@ -85,7 +85,7 @@ ChartColorWrapper::ChartColorWrapper( { } -void ChartColorWrapper::operator()([[maybe_unused]] const OUString& , const NamedColor& rColor) +void ChartColorWrapper::operator()([[maybe_unused]] const OUString& , const svx::NamedThemedColor& rColor) { css::uno::Reference<css::beans::XPropertySet> xPropSet = getPropSet(mxModel); @@ -95,7 +95,7 @@ void ChartColorWrapper::operator()([[maybe_unused]] const OUString& , const Name return; } - xPropSet->setPropertyValue(maPropertyName, css::uno::makeAny(rColor.first)); + xPropSet->setPropertyValue(maPropertyName, css::uno::makeAny(rColor.m_aColor)); } void ChartColorWrapper::updateModel(const css::uno::Reference<css::frame::XModel>& xModel) diff --git a/chart2/source/controller/sidebar/ChartColorWrapper.hxx b/chart2/source/controller/sidebar/ChartColorWrapper.hxx index 66c880ae3ca2..694c5a9f7786 100644 --- a/chart2/source/controller/sidebar/ChartColorWrapper.hxx +++ b/chart2/source/controller/sidebar/ChartColorWrapper.hxx @@ -26,7 +26,7 @@ public: SvxColorToolBoxControl* pControl, const OUString& rPropertyName); - void operator()(const OUString& rCommand, const NamedColor& rColor); + void operator()(const OUString& rCommand, const svx::NamedThemedColor& rColor); // ColorSelectFunction signature void updateModel(const css::uno::Reference<css::frame::XModel>& xModel); |