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 /vcl | |
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 'vcl')
-rw-r--r-- | vcl/inc/unx/cupsmgr.hxx | 3 | ||||
-rw-r--r-- | vcl/source/control/ctrl.cxx | 10 | ||||
-rw-r--r-- | vcl/source/control/spinfld.cxx | 5 | ||||
-rw-r--r-- | vcl/source/window/dockmgr.cxx | 6 | ||||
-rw-r--r-- | vcl/source/window/dockwin.cxx | 6 | ||||
-rw-r--r-- | vcl/source/window/split.cxx | 5 | ||||
-rw-r--r-- | vcl/source/window/status.cxx | 5 | ||||
-rw-r--r-- | vcl/source/window/toolbox.cxx | 5 | ||||
-rw-r--r-- | vcl/unx/generic/printer/cupsmgr.cxx | 5 |
9 files changed, 0 insertions, 50 deletions
diff --git a/vcl/inc/unx/cupsmgr.hxx b/vcl/inc/unx/cupsmgr.hxx index 576afd4fe3cc..059379b9482d 100644 --- a/vcl/inc/unx/cupsmgr.hxx +++ b/vcl/inc/unx/cupsmgr.hxx @@ -80,9 +80,6 @@ public: virtual bool endSpool( const OUString& rPrinterName, const OUString& rJobTitle, FILE* pFile, const JobData& rDocumentJobData, bool bBanner, const OUString& rFaxNumber ) override; virtual void setupJobContextData( JobData& rData ) override; - /// changes the info about a named printer - virtual void changePrinterInfo( const OUString& rPrinter, const PrinterInfo& rNewInfo ) override; - /// check if the printer configuration has changed virtual bool checkPrintersChanged( bool bWait ) override; diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx index 41e1336c65bb..13ea3d0cdd96 100644 --- a/vcl/source/control/ctrl.cxx +++ b/vcl/source/control/ctrl.cxx @@ -87,16 +87,6 @@ void Control::EnableRTL( bool bEnable ) OutputDevice::EnableRTL(bEnable); } -void Control::GetFocus() -{ - Window::GetFocus(); -} - -void Control::LoseFocus() -{ - Window::LoseFocus(); -} - void Control::Resize() { ImplClearLayoutData(); diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx index 970180a1bb9d..26c9887afd93 100644 --- a/vcl/source/control/spinfld.cxx +++ b/vcl/source/control/spinfld.cxx @@ -591,11 +591,6 @@ bool SpinField::Notify(NotifyEvent& rNEvt) return bDone || Edit::Notify(rNEvt); } -void SpinField::Command(const CommandEvent& rCEvt) -{ - Edit::Command(rCEvt); -} - void SpinField::FillLayoutData() const { if (mbSpin) diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx index 02363f4cdb87..50c4dfe7d770 100644 --- a/vcl/source/window/dockmgr.cxx +++ b/vcl/source/window/dockmgr.cxx @@ -64,7 +64,6 @@ public: virtual void TitleButtonClick( TitleButton nButton ) override; virtual void Pin() override; virtual void Roll() override; - virtual void PopupModeEnd() override; virtual void Resizing( Size& rSize ) override; virtual bool Close() override; }; @@ -270,11 +269,6 @@ void ImplDockFloatWin2::Roll() FloatingWindow::Roll(); } -void ImplDockFloatWin2::PopupModeEnd() -{ - FloatingWindow::PopupModeEnd(); -} - void ImplDockFloatWin2::Resizing( Size& rSize ) { FloatingWindow::Resizing( rSize ); diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx index 3ec763444b2c..da9ffc596c5e 100644 --- a/vcl/source/window/dockwin.cxx +++ b/vcl/source/window/dockwin.cxx @@ -80,7 +80,6 @@ public: virtual void TitleButtonClick( TitleButton nButton ) override; virtual void Pin() override; virtual void Roll() override; - virtual void PopupModeEnd() override; virtual void Resizing( Size& rSize ) override; virtual bool Close() override; }; @@ -233,11 +232,6 @@ void ImplDockFloatWin::Roll() FloatingWindow::Roll(); } -void ImplDockFloatWin::PopupModeEnd() -{ - FloatingWindow::PopupModeEnd(); -} - void ImplDockFloatWin::Resizing( Size& rSize ) { FloatingWindow::Resizing( rSize ); diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx index 31c7bbd04878..daf4dd16e5a3 100644 --- a/vcl/source/window/split.cxx +++ b/vcl/source/window/split.cxx @@ -648,11 +648,6 @@ void Splitter::KeyInput( const KeyEvent& rKEvt ) mbInKeyEvent = 0; } -bool Splitter::Notify( NotifyEvent& rNEvt ) -{ - return Window::Notify( rNEvt ); -} - void Splitter::DataChanged( const DataChangedEvent& rDCEvt ) { Window::DataChanged( rDCEvt ); diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx index 46d173b65b9f..97d59e33d1ec 100644 --- a/vcl/source/window/status.cxx +++ b/vcl/source/window/status.cxx @@ -733,11 +733,6 @@ void StatusBar::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect rRenderContext.DrawLine(Point(0, 0), Point(mnDX-1, 0)); } -void StatusBar::Move() -{ - Window::Move(); -} - void StatusBar::Resize() { // save width and height diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index c5f07b500868..7e6601766b7a 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -4532,11 +4532,6 @@ void ToolBox::statusChanged( const css::frame::FeatureStateEvent& Event ) } } -bool ToolBox::PrepareToggleFloatingMode() -{ - return DockingWindow::PrepareToggleFloatingMode(); -} - void ToolBox::SetStyle(WinBits nNewStyle) { mnWinStyle = nNewStyle; diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx index 6f000e442f5f..cafaeedc120f 100644 --- a/vcl/unx/generic/printer/cupsmgr.cxx +++ b/vcl/unx/generic/printer/cupsmgr.cxx @@ -684,11 +684,6 @@ bool CUPSManager::endSpool( const OUString& rPrintername, const OUString& rJobTi return nJobID != 0; } -void CUPSManager::changePrinterInfo( const OUString& rPrinter, const PrinterInfo& rNewInfo ) -{ - PrinterInfoManager::changePrinterInfo( rPrinter, rNewInfo ); -} - bool CUPSManager::checkPrintersChanged( bool bWait ) { bool bChanged = false; |