diff options
Diffstat (limited to 'chart2/source/controller/sidebar/ChartColorWrapper.hxx')
-rw-r--r-- | chart2/source/controller/sidebar/ChartColorWrapper.hxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/chart2/source/controller/sidebar/ChartColorWrapper.hxx b/chart2/source/controller/sidebar/ChartColorWrapper.hxx index adbe9ef0d05f..b0f90710e138 100644 --- a/chart2/source/controller/sidebar/ChartColorWrapper.hxx +++ b/chart2/source/controller/sidebar/ChartColorWrapper.hxx @@ -13,6 +13,8 @@ #include <com/sun/star/frame/XFramesSupplier.hpp> #include <tools/color.hxx> +class SvxColorToolBoxControl; + namespace chart { namespace sidebar { class ChartColorWrapper @@ -20,17 +22,21 @@ class ChartColorWrapper private: public: - ChartColorWrapper(css::uno::Reference<css::frame::XModel> xModel); + ChartColorWrapper(css::uno::Reference<css::frame::XModel> xModel, + SvxColorToolBoxControl* pControl); void operator()(const OUString& rCommand, const Color& rColor); void updateModel(css::uno::Reference<css::frame::XModel> xModel); + + void updateData(); + private: - // not the chart frame - // you need to get the chart frame through getActiveFrame css::uno::Reference<css::frame::XModel> mxModel; + SvxColorToolBoxControl* mpControl; + OUString maPropertyName; }; |