diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-07-30 16:48:47 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-08-29 11:48:47 +0300 |
commit | bd3975dbd9e76905adfa97bf2a32973951ca6d75 (patch) | |
tree | 81406da855aaa4f036e283fb91615476d89965cb | |
parent | tdf#97362: TextPortionEnumerationTest partially migrated to python (part 7) (diff) | |
download | core-bd3975dbd9e76905adfa97bf2a32973951ca6d75.tar.gz core-bd3975dbd9e76905adfa97bf2a32973951ca6d75.zip |
Remove duplicate code
The base class has now the same code since 9f61005dd9c4b
("tdf#109309 Currency dropdown is misplaced under Wayland").
Change-Id: Id0380ea10711a46c125c1f2ba6be82f21830bd9f
-rw-r--r-- | svx/source/tbxctrls/bulletsnumbering.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/svx/source/tbxctrls/bulletsnumbering.cxx b/svx/source/tbxctrls/bulletsnumbering.cxx index 03d4258ae2e8..1ca937bed72d 100644 --- a/svx/source/tbxctrls/bulletsnumbering.cxx +++ b/svx/source/tbxctrls/bulletsnumbering.cxx @@ -48,9 +48,6 @@ public: explicit NumberingToolBoxControl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); virtual VclPtr<vcl::Window> createPopupWindow( vcl::Window* pParent ) override; - // XStatusListener - virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& rEvent ) override; - // XInitialization virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override; @@ -201,20 +198,6 @@ VclPtr<vcl::Window> NumberingToolBoxControl::createPopupWindow( vcl::Window* pPa return VclPtr<NumberingPopup>::Create( *this, pParent, mePageType ); } - -void SAL_CALL NumberingToolBoxControl::statusChanged( const css::frame::FeatureStateEvent& rEvent ) -{ - ToolBox* pToolBox = nullptr; - sal_uInt16 nId = 0; - if ( getToolboxId( nId, &pToolBox ) ) - { - pToolBox->EnableItem( nId, rEvent.IsEnabled ); - bool bChecked; - if ( rEvent.State >>= bChecked ) - pToolBox->CheckItem( nId, bChecked ); - } -} - void SAL_CALL NumberingToolBoxControl::initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) { svt::PopupWindowController::initialize( aArguments ); |