diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-01-06 15:09:55 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-01-08 16:07:28 +0200 |
commit | a1f97ed2aa4b8f2c91d4b87fb59c8937523c2ba4 (patch) | |
tree | 75b702c9e2ab63acd62a185a681622978422824b /include/svx | |
parent | 215953f9814f43d51a610fde9d3ee966a2981063 (diff) |
XSubToolbarController is only used by SvxColorToolBoxControl
Change-Id: I10c31aa9c773649c99b52c2d34cb648a37bf42ac
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/tbcontrl.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx index bf808381c6ac..3d923e1cee25 100644 --- a/include/svx/tbcontrl.hxx +++ b/include/svx/tbcontrl.hxx @@ -206,7 +206,8 @@ friend class SfxStyleControllerItem_Impl; typedef std::function<void(const OUString&, const NamedColor&)> ColorSelectFunction; -class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl +class SVX_DLLPUBLIC SvxColorToolBoxControl : public cppu::ImplInheritanceHelper< SfxToolBoxControl, + css::frame::XSubToolbarController > { std::unique_ptr<svx::ToolboxButtonColorUpdater> m_xBtnUpdater; PaletteManager m_aPaletteManager; @@ -227,6 +228,8 @@ public: // XSubToolbarController virtual sal_Bool SAL_CALL opensSubToolbar() throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getSubToolbarName() throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL functionSelected( const OUString& rCommand ) throw (css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL updateImage() throw (css::uno::RuntimeException, std::exception) override; void setColorSelectFunction(const ColorSelectFunction& aColorSelectFunction); |