include/sfx2/stbitem.hxx | 1 - include/sfx2/thumbnailview.hxx | 2 -- sfx2/source/control/thumbnailview.cxx | 5 ----- sfx2/source/dialog/splitwin.cxx | 6 ------ sfx2/source/inc/splitwin.hxx | 1 - sfx2/source/notebookbar/ContextVBox.cxx | 5 ----- sfx2/source/statbar/stbitem.cxx | 6 ------ 7 files changed, 26 deletions(-)
New commits: commit 52dfb06b194bf890510352a98540c64bc3d44b70 Author: Noel Grandin <n...@peralex.com> Date: Tue Oct 11 08:21:34 2016 +0200 loplugin:unnecessaryoverride in sfx2 Change-Id: I9097a5cfb861e6659a5d9ae10f9c45f2edcae2ec Reviewed-on: https://gerrit.libreoffice.org/29686 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx index 6f54c4a..d3cb43b 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 81cab2d..d118782 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 68e88ba..6bcb281 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 ba2d871..95b12bd 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 3b917f9e..d6eb7ae 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 3bbe14a..64de1ca 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 e89a25e..87b2102 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits