summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-10-11 08:21:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-11 08:42:49 +0000
commit52dfb06b194bf890510352a98540c64bc3d44b70 (patch)
treea37c2287f141499ca0ac3f4bd2cc55efe204432c
parent411c04c4025b4349df70a2dae723bbeac9f12f57 (diff)
loplugin:unnecessaryoverride in sfx2
Change-Id: I9097a5cfb861e6659a5d9ae10f9c45f2edcae2ec Reviewed-on: https://gerrit.libreoffice.org/29686 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--include/sfx2/stbitem.hxx1
-rw-r--r--include/sfx2/thumbnailview.hxx2
-rw-r--r--sfx2/source/control/thumbnailview.cxx5
-rw-r--r--sfx2/source/dialog/splitwin.cxx6
-rw-r--r--sfx2/source/inc/splitwin.hxx1
-rw-r--r--sfx2/source/notebookbar/ContextVBox.cxx5
-rw-r--r--sfx2/source/statbar/stbitem.cxx6
7 files changed, 0 insertions, 26 deletions
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx
index 6f54c4a3d413..d3cb43b59ffc 100644
--- a/include/sfx2/stbitem.hxx
+++ b/include/sfx2/stbitem.hxx
@@ -65,7 +65,6 @@ class SFX2_DLLPUBLIC SfxStatusBarControl: public svt::StatusbarController
protected:
// new controller API
// XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL acquire() throw() override;
virtual void SAL_CALL release() throw() override;
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index 81cab2da57dc..d11878270bbc 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -244,8 +244,6 @@ protected:
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
- virtual void MouseButtonUp( const MouseEvent& rMEvt ) override;
-
virtual void Command( const CommandEvent& rCEvt ) override;
virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override;
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index 68e88bae79cc..6bcb2811e842 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -828,11 +828,6 @@ void ThumbnailView::MouseButtonDown( const MouseEvent& rMEvt )
}
}
-void ThumbnailView::MouseButtonUp( const MouseEvent& rMEvt )
-{
- Control::MouseButtonUp( rMEvt );
-}
-
void ThumbnailView::Command( const CommandEvent& rCEvt )
{
if ( (rCEvt.GetCommand() == CommandEventId::Wheel) ||
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index ba2d8713dcce..95b12bd095f5 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -928,12 +928,6 @@ sal_uInt16 SfxSplitWindow::GetWindowCount() const
}
-void SfxSplitWindow::Command( const CommandEvent& rCEvt )
-{
- SplitWindow::Command( rCEvt );
-}
-
-
IMPL_LINK( SfxSplitWindow, TimerHdl, Timer*, pTimer, void)
{
if ( pTimer )
diff --git a/sfx2/source/inc/splitwin.hxx b/sfx2/source/inc/splitwin.hxx
index 3b917f9ee6c6..d6eb7ae7df3e 100644
--- a/sfx2/source/inc/splitwin.hxx
+++ b/sfx2/source/inc/splitwin.hxx
@@ -71,7 +71,6 @@ protected:
virtual void StartSplit() override;
virtual void SplitResize() override;
virtual void Split() override;
- virtual void Command ( const CommandEvent& rCEvt ) override;
virtual void MouseButtonDown ( const MouseEvent& ) override;
public:
diff --git a/sfx2/source/notebookbar/ContextVBox.cxx b/sfx2/source/notebookbar/ContextVBox.cxx
index 3bbe14a1f3ea..64de1cab2a48 100644
--- a/sfx2/source/notebookbar/ContextVBox.cxx
+++ b/sfx2/source/notebookbar/ContextVBox.cxx
@@ -42,11 +42,6 @@ public:
disposeOnce();
}
- virtual void dispose() override
- {
- VclVBox::dispose();
- }
-
void SetContext( vcl::EnumContext::Context eContext ) override
{
for (int nChild = 0; nChild < GetChildCount(); ++nChild)
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index e89a25e88175..87b2102a7f88 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -172,12 +172,6 @@ SfxStatusBarControl::~SfxStatusBarControl()
// XInterface
-uno::Any SAL_CALL SfxStatusBarControl::queryInterface( const uno::Type & rType )
-throw( uno::RuntimeException, std::exception)
-{
- return svt::StatusbarController::queryInterface( rType );
-}
-
void SAL_CALL SfxStatusBarControl::acquire() throw()
{
OWeakObject::acquire();