summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-12 08:21:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-15 14:05:41 +0000
commit6e72f0251bb8767942edf74f612547c12ca0cdf1 (patch)
tree0785de1a2f8995d1d4ede7889541bda9b59f893f /chart2
parentsc: remove FUNC* and OOX_XLS_IS_LIBNAME macros (diff)
downloadcore-6e72f0251bb8767942edf74f612547c12ca0cdf1.tar.gz
core-6e72f0251bb8767942edf74f612547c12ca0cdf1.zip
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')
-rw-r--r--chart2/source/controller/accessibility/AccessibleChartView.cxx6
-rw-r--r--chart2/source/controller/inc/AccessibleChartView.hxx2
-rw-r--r--chart2/source/controller/main/DrawCommandDispatch.cxx5
-rw-r--r--chart2/source/controller/main/DrawCommandDispatch.hxx3
-rw-r--r--chart2/source/controller/main/ElementSelector.cxx4
-rw-r--r--chart2/source/controller/main/ElementSelector.hxx2
-rw-r--r--chart2/source/controller/main/ShapeController.cxx5
-rw-r--r--chart2/source/controller/main/ShapeController.hxx3
8 files changed, 1 insertions, 29 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleChartView.cxx b/chart2/source/controller/accessibility/AccessibleChartView.cxx
index 73e5559e694b..f24951371df6 100644
--- a/chart2/source/controller/accessibility/AccessibleChartView.cxx
+++ b/chart2/source/controller/accessibility/AccessibleChartView.cxx
@@ -366,12 +366,6 @@ void SAL_CALL AccessibleChartView::selectionChanged( const lang::EventObject& /*
}
}
-// lang::XComponent::dispose()
-void SAL_CALL AccessibleChartView::disposing()
-{
- AccessibleBase::disposing();
-}
-
// XEventListener
void SAL_CALL AccessibleChartView::disposing( const lang::EventObject& /*Source*/ )
throw (uno::RuntimeException, std::exception)
diff --git a/chart2/source/controller/inc/AccessibleChartView.hxx b/chart2/source/controller/inc/AccessibleChartView.hxx
index 7e2e942bebe6..203296e85221 100644
--- a/chart2/source/controller/inc/AccessibleChartView.hxx
+++ b/chart2/source/controller/inc/AccessibleChartView.hxx
@@ -63,7 +63,7 @@ public:
AccessibleChartView() = delete;
// ____ WeakComponentHelper (called from XComponent::dispose()) ____
- virtual void SAL_CALL disposing() override;
+ using AccessibleBase::disposing;
// ____ lang::XInitialization ____
// 0: view::XSelectionSupplier offers notifications for selection changes and access to the selection itself
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;