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 /svx | |
parent | 215953f9814f43d51a610fde9d3ee966a2981063 (diff) |
XSubToolbarController is only used by SvxColorToolBoxControl
Change-Id: I10c31aa9c773649c99b52c2d34cb648a37bf42ac
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 3362174b8ad4..cf449f9ceffd 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -2766,7 +2766,7 @@ SvxColorToolBoxControl::SvxColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ): - SfxToolBoxControl( nSlotId, nId, rTbx ), + ImplInheritanceHelper( nSlotId, nId, rTbx ), m_bSplitButton(dynamic_cast< sfx2::sidebar::SidebarToolBox* >(&rTbx) == nullptr), m_aColorSelectFunction(PaletteManager::DispatchColorCommand) { @@ -2909,6 +2909,17 @@ void SvxColorToolBoxControl::updateImage() } } +OUString SvxColorToolBoxControl::getSubToolbarName() + throw (css::uno::RuntimeException, std::exception) +{ + return OUString(); +} + +void SvxColorToolBoxControl::functionSelected( const OUString& /*rCommand*/ ) + throw (css::uno::RuntimeException, std::exception) +{ +} + SfxToolBoxControl* SvxColorToolBoxControl::CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx ) { return new SvxColorToolBoxControl( nSlotId, nId, rTbx ); |