diff options
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/tbxctrls/grafctrl.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index 1b6a4f2563a1..6f434e6834ce 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -423,32 +423,6 @@ void ImplGrafModeControl::Update( const SfxPoolItem* pItem ) SetNoSelection(); } -SFX_IMPL_TOOLBOX_CONTROL( SvxGrafFilterToolBoxControl, TbxImageItem ); - -SvxGrafFilterToolBoxControl::SvxGrafFilterToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) : - SfxToolBoxControl( nSlotId, nId, rTbx ) -{ - rTbx.SetItemBits( nId, ToolBoxItemBits::DROPDOWNONLY | rTbx.GetItemBits( nId ) ); - rTbx.Invalidate(); -} - -SvxGrafFilterToolBoxControl::~SvxGrafFilterToolBoxControl() -{ -} - -void SvxGrafFilterToolBoxControl::StateChanged( sal_uInt16, SfxItemState eState, const SfxPoolItem* ) -{ - GetToolBox().EnableItem( GetId(), ( eState != SfxItemState::DISABLED ) ); -} - -VclPtr<SfxPopupWindow> SvxGrafFilterToolBoxControl::CreatePopupWindow() -{ - OUString aSubTbxResName( "private:resource/toolbar/graffilterbar" ); - createAndPositionSubToolBar( aSubTbxResName ); - - return NULL; -} - SvxGrafToolBoxControl::SvxGrafToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx) : SfxToolBoxControl( nSlotId, nId, rTbx ) { |