summaryrefslogtreecommitdiff
path: root/sfx2
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 /sfx2
parent7da80de2c75e048a08ea6e923a9f433a638a9f12 (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 'sfx2')
-rw-r--r--sfx2/source/dialog/dockwin.cxx12
-rw-r--r--sfx2/source/dialog/partwnd.cxx12
-rw-r--r--sfx2/source/dialog/splitwin.cxx7
-rw-r--r--sfx2/source/dialog/styledlg.cxx13
-rw-r--r--sfx2/source/dialog/templdlg.cxx8
-rw-r--r--sfx2/source/inc/partwnd.hxx1
-rw-r--r--sfx2/source/inc/templdgi.hxx1
-rw-r--r--sfx2/source/sidebar/Panel.cxx10
-rw-r--r--sfx2/source/sidebar/SidebarDockingWindow.cxx6
-rw-r--r--sfx2/source/statbar/stbitem.cxx16
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx6
11 files changed, 0 insertions, 92 deletions
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index 5afb353de4e0..b9fb2c28287a 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -76,10 +76,8 @@ public:
void SetWrappedWindow(vcl::Window* const pWindow);
virtual void StateChanged( StateChangedType nType ) override;
- virtual bool Notify( NotifyEvent& rNEvt ) override;
virtual void Resize() override;
virtual void Resizing( Size& rSize ) override;
- virtual bool Close() override;
};
namespace
@@ -266,11 +264,6 @@ void SfxTitleDockingWindow::SetWrappedWindow( vcl::Window* const pWindow )
}
}
-bool SfxTitleDockingWindow::Notify( NotifyEvent& rNEvt )
-{
- return SfxDockingWindow::Notify( rNEvt );
-}
-
void SfxTitleDockingWindow::StateChanged( StateChangedType nType )
{
if ( nType == StateChangedType::InitShow )
@@ -300,11 +293,6 @@ void SfxTitleDockingWindow::Resizing( Size &rSize )
m_pWrappedWindow->SetSizePixel( GetOutputSizePixel() );
}
-bool SfxTitleDockingWindow::Close()
-{
- return SfxDockingWindow::Close();
-}
-
namespace
{
struct ChildrenRegisteredMap : public rtl::Static< bool, ChildrenRegisteredMap > {};
diff --git a/sfx2/source/dialog/partwnd.cxx b/sfx2/source/dialog/partwnd.cxx
index 7c5f4fa87e31..6f2f1fe34d0f 100644
--- a/sfx2/source/dialog/partwnd.cxx
+++ b/sfx2/source/dialog/partwnd.cxx
@@ -138,18 +138,6 @@ SfxPartDockWnd_Impl::SfxPartDockWnd_Impl
}
-void SfxPartDockWnd_Impl::Resize()
-
-/* [Description]
-
- Adjusting the size of the controls wrt the new window size
-*/
-
-{
- SfxDockingWindow::Resize();
-}
-
-
bool SfxPartDockWnd_Impl::QueryClose()
{
bool bClose = true;
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 9873b0018457..39e6bcd92ed1 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -123,7 +123,6 @@ public:
SplitWindow::dispose();
}
- virtual void MouseMove( const MouseEvent& ) override;
virtual void AutoHide() override;
virtual void FadeIn() override;
void Actualize();
@@ -179,12 +178,6 @@ void SfxSplitWindow::MouseButtonDown( const MouseEvent& rMEvt )
SplitWindow::MouseButtonDown( rMEvt );
}
-void SfxEmptySplitWin_Impl::MouseMove( const MouseEvent& rMEvt )
-{
- SplitWindow::MouseMove( rMEvt );
-}
-
-
SfxSplitWindow::SfxSplitWindow( vcl::Window* pParent, SfxChildAlignment eAl,
SfxWorkWindow *pW, bool bWithButtons, WinBits nBits )
diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx
index 879fcd9ebdb9..197a55e4fd5e 100644
--- a/sfx2/source/dialog/styledlg.cxx
+++ b/sfx2/source/dialog/styledlg.cxx
@@ -88,19 +88,6 @@ void SfxStyleDialog::dispose()
}
-void SfxStyleDialog::RefreshInputSet()
-
-/* [Description]
-
- This is called when <SfxTabPage::DeactivatePage(SfxItemSet *)>
- returns <DeactivateRC::RefreshSet>.
-*/
-
-{
- SfxTabDialog::RefreshInputSet();
-}
-
-
short SfxStyleDialog::Ok()
/* [Description]
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 58c16e404dd1..2a3bb535189c 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -426,14 +426,6 @@ bool StyleTreeListBox_Impl::DoubleClickHdl()
return false;
}
-/** Command Handler; this executes a PopupMenu (designer-specific)
- SV virtual method.
-*/
-void StyleTreeListBox_Impl::Command( const CommandEvent& rCEvt )
-{
- SvTreeListBox::Command(rCEvt);
-}
-
bool StyleTreeListBox_Impl::Notify( NotifyEvent& rNEvt )
{
// handle <RETURN> as double click
diff --git a/sfx2/source/inc/partwnd.hxx b/sfx2/source/inc/partwnd.hxx
index e629f1390aa2..730c603c0789 100644
--- a/sfx2/source/inc/partwnd.hxx
+++ b/sfx2/source/inc/partwnd.hxx
@@ -58,7 +58,6 @@ public:
class SfxPartDockWnd_Impl : public SfxDockingWindow
{
protected:
- virtual void Resize() override;
virtual bool Notify( NotifyEvent& rNEvt ) override;
public:
diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx
index 13e36c5f1f9a..0ffb548a11c7 100644
--- a/sfx2/source/inc/templdgi.hxx
+++ b/sfx2/source/inc/templdgi.hxx
@@ -97,7 +97,6 @@ private:
OUString aStyle;
protected:
- virtual void Command(const CommandEvent& rMEvt) override;
virtual bool Notify(NotifyEvent& rNEvt) override;
virtual bool DoubleClickHdl() override;
virtual bool ExpandingHdl() override;
diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx
index 9c05ddedc352..8b2bb7bd67ca 100644
--- a/sfx2/source/sidebar/Panel.cxx
+++ b/sfx2/source/sidebar/Panel.cxx
@@ -137,11 +137,6 @@ bool Panel::HasIdPredicate (const OUString& rsId) const
return msPanelId.equals(rsId);
}
-void Panel::Paint (vcl::RenderContext& rRenderContext, const Rectangle& rUpdateArea)
-{
- Window::Paint(rRenderContext, rUpdateArea);
-}
-
void Panel::Resize()
{
Window::Resize();
@@ -156,11 +151,6 @@ void Panel::Resize()
}
}
-void Panel::Activate()
-{
- Window::Activate();
-}
-
void Panel::DataChanged (const DataChangedEvent& rEvent)
{
(void)rEvent;
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index c47957292fd4..e76773198fd2 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -77,12 +77,6 @@ void SidebarDockingWindow::GetFocus()
SfxDockingWindow::GetFocus();
}
-// fdo#87217
-bool SidebarDockingWindow::Close()
-{
- return SfxDockingWindow::Close();
-}
-
SfxChildAlignment SidebarDockingWindow::CheckAlignment (
SfxChildAlignment eCurrentAlignment,
SfxChildAlignment eRequestedAlignment)
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 4dd498b52a90..e89a25e88175 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -189,22 +189,6 @@ void SAL_CALL SfxStatusBarControl::release() throw()
}
-// XEventListener
-void SAL_CALL SfxStatusBarControl::disposing( const lang::EventObject& aEvent )
-throw( uno::RuntimeException, std::exception )
-{
- svt::StatusbarController::disposing( aEvent );
-}
-
-
-// XComponent
-void SAL_CALL SfxStatusBarControl::dispose()
-throw (uno::RuntimeException, std::exception)
-{
- svt::StatusbarController::dispose();
-}
-
-
// XStatusListener
void SAL_CALL SfxStatusBarControl::statusChanged( const frame::FeatureStateEvent& rEvent )
throw ( css::uno::RuntimeException, std::exception )
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 9a250b81c7fb..e17f67e67b3e 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -420,12 +420,6 @@ void SfxToolBoxControl::Dispatch( const OUString& aCommand, css::uno::Sequence<
}
}
-void SAL_CALL SfxToolBoxControl::disposing( const css::lang::EventObject& aEvent )
-throw( css::uno::RuntimeException, std::exception )
-{
- svt::ToolboxController::disposing( aEvent );
-}
-
// XStatusListener
void SAL_CALL SfxToolBoxControl::statusChanged( const FeatureStateEvent& rEvent )
throw ( css::uno::RuntimeException, std::exception )