From 1b5dae25b0252ddf6021553f78b79115652c3b6b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 3 Oct 2019 16:45:23 +0200 Subject: loplugin:unnecessaryvirtual Change-Id: Ib329e251ee405f60568a2fea6cb93f54a84063cd Reviewed-on: https://gerrit.libreoffice.org/80144 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/inc/unx/saldisp.hxx | 4 ++-- vcl/inc/wizdlg.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl') diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx index bc98120d474c..74d576c84782 100644 --- a/vcl/inc/unx/saldisp.hxx +++ b/vcl/inc/unx/saldisp.hxx @@ -347,9 +347,9 @@ public: XIC = nullptr ) const; Cursor GetPointer( PointerStyle ePointerStyle ); - virtual int CaptureMouse( SalFrame *pCapture ); + int CaptureMouse( SalFrame *pCapture ); - virtual ScreenData *initScreen( SalX11Screen nXScreen ) const; + ScreenData* initScreen( SalX11Screen nXScreen ) const; const ScreenData& getDataForScreen( SalX11Screen nXScreen ) const { if( nXScreen.getXScreen() >= m_aScreens.size() ) diff --git a/vcl/inc/wizdlg.hxx b/vcl/inc/wizdlg.hxx index b98d11db3d7f..aa181a6c0912 100644 --- a/vcl/inc/wizdlg.hxx +++ b/vcl/inc/wizdlg.hxx @@ -306,7 +306,7 @@ namespace vcl this is worth an assertion in a non-product build, and then an empty string is returned. */ - virtual OUString getStateDisplayName(WizardTypes::WizardState nState) const; + OUString getStateDisplayName(WizardTypes::WizardState nState) const; private: DECL_LINK( OnRoadmapItemSelected, LinkParamNone*, void ); -- cgit