diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-12 08:21:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-15 14:05:41 +0000 |
commit | 6e72f0251bb8767942edf74f612547c12ca0cdf1 (patch) | |
tree | 0785de1a2f8995d1d4ede7889541bda9b59f893f /chart2/source/controller/main | |
parent | 7da80de2c75e048a08ea6e923a9f433a638a9f12 (diff) |
new loplugin unnecessary override
Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb
Reviewed-on: https://gerrit.libreoffice.org/27135
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2/source/controller/main')
6 files changed, 0 insertions, 22 deletions
diff --git a/chart2/source/controller/main/DrawCommandDispatch.cxx b/chart2/source/controller/main/DrawCommandDispatch.cxx index 4ae7d1ba34be..41b0f8993147 100644 --- a/chart2/source/controller/main/DrawCommandDispatch.cxx +++ b/chart2/source/controller/main/DrawCommandDispatch.cxx @@ -79,11 +79,6 @@ DrawCommandDispatch::~DrawCommandDispatch() { } -void DrawCommandDispatch::initialize() -{ - FeatureCommandDispatchBase::initialize(); -} - bool DrawCommandDispatch::isFeatureSupported( const OUString& rCommandURL ) { sal_uInt16 nFeatureId = 0; diff --git a/chart2/source/controller/main/DrawCommandDispatch.hxx b/chart2/source/controller/main/DrawCommandDispatch.hxx index a6ce34cc6fd7..dd1c379e2abb 100644 --- a/chart2/source/controller/main/DrawCommandDispatch.hxx +++ b/chart2/source/controller/main/DrawCommandDispatch.hxx @@ -37,9 +37,6 @@ public: DrawCommandDispatch( const css::uno::Reference< css::uno::XComponentContext >& rxContext, ChartController* pController ); virtual ~DrawCommandDispatch(); - // late initialisation, especially for adding as listener - virtual void initialize() override; - virtual bool isFeatureSupported( const OUString& rCommandURL ) override; void setAttributes( SdrObject* pObj ); diff --git a/chart2/source/controller/main/ElementSelector.cxx b/chart2/source/controller/main/ElementSelector.cxx index 310950a93778..d7ed6b72b0bf 100644 --- a/chart2/source/controller/main/ElementSelector.cxx +++ b/chart2/source/controller/main/ElementSelector.cxx @@ -293,10 +293,6 @@ void SAL_CALL ElementSelectorToolbarController::release() throw () { ToolboxController::release(); } -void SAL_CALL ElementSelectorToolbarController::initialize( const Sequence< Any >& rArguments ) throw (Exception, RuntimeException, std::exception) -{ - ToolboxController::initialize(rArguments); -} void SAL_CALL ElementSelectorToolbarController::statusChanged( const frame::FeatureStateEvent& rEvent ) throw ( RuntimeException, std::exception ) { if( m_apSelectorListBox.get() ) diff --git a/chart2/source/controller/main/ElementSelector.hxx b/chart2/source/controller/main/ElementSelector.hxx index a5e51cd3586e..6826b22c7d05 100644 --- a/chart2/source/controller/main/ElementSelector.hxx +++ b/chart2/source/controller/main/ElementSelector.hxx @@ -88,8 +88,6 @@ public: virtual void SAL_CALL acquire() throw () override; virtual void SAL_CALL release() throw () override; - // XInitialization - virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override; // XStatusListener virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) throw ( css::uno::RuntimeException, std::exception ) override; // XToolbarController diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx index 6e71b3066dea..24b1717963ca 100644 --- a/chart2/source/controller/main/ShapeController.cxx +++ b/chart2/source/controller/main/ShapeController.cxx @@ -64,11 +64,6 @@ ShapeController::~ShapeController() { } -void ShapeController::initialize() -{ - FeatureCommandDispatchBase::initialize(); -} - // WeakComponentImplHelperBase void ShapeController::disposing() { diff --git a/chart2/source/controller/main/ShapeController.hxx b/chart2/source/controller/main/ShapeController.hxx index 139f499159c3..73b7db1172b0 100644 --- a/chart2/source/controller/main/ShapeController.hxx +++ b/chart2/source/controller/main/ShapeController.hxx @@ -40,9 +40,6 @@ public: ShapeController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, ChartController* pController ); virtual ~ShapeController(); - // late initialisation, especially for adding as listener - virtual void initialize() override; - protected: // WeakComponentImplHelperBase virtual void SAL_CALL disposing() override; |