From 0d4298a9880e48692871b5b3d4bbc551af6e37ae Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Nov 2018 08:25:57 +0200 Subject: loplugin:unnecessaryvirtual Change-Id: I3e6424e10eade04951f8ab24bb61af4ce19d1204 Reviewed-on: https://gerrit.libreoffice.org/64113 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/sfx2/basedlgs.hxx | 4 ++-- include/sfx2/controlwrapper.hxx | 4 ++-- include/sfx2/tabdlg.hxx | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'include/sfx2') diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx index 91d412d48b46..74b93408d5c3 100644 --- a/include/sfx2/basedlgs.hxx +++ b/include/sfx2/basedlgs.hxx @@ -134,7 +134,7 @@ protected: virtual ~SfxModelessDialogController() override; public: - virtual void FillInfo(SfxChildWinInfo&) const; + void FillInfo(SfxChildWinInfo&) const; virtual void Activate() {} void Initialize (SfxChildWinInfo const * pInfo); void Close(); @@ -235,7 +235,7 @@ public: const OUString& rUIXMLDescription = OUString("sfx/ui/singletabdialog.ui"), const OString& rID = OString("SingleTabDialog")); - virtual weld::Container* get_content_area() { return m_xContainer.get(); } + weld::Container* get_content_area() { return m_xContainer.get(); } virtual ~SfxSingleTabDialogController() override; diff --git a/include/sfx2/controlwrapper.hxx b/include/sfx2/controlwrapper.hxx index 6a85f0c42958..d080d416158a 100644 --- a/include/sfx2/controlwrapper.hxx +++ b/include/sfx2/controlwrapper.hxx @@ -212,8 +212,8 @@ public: explicit ListBoxWrapper( ListBox& rListBox, const MapEntryType* pMap ) : SingleControlWrapper< ListBox, ValueT >( rListBox ), MapperType( WRAPPER_LISTBOX_ENTRY_NOTFOUND, pMap ) {} - virtual ValueT GetControlValue() const override; - virtual void SetControlValue( ValueT nValue ) override; + ValueT GetControlValue() const override; + void SetControlValue( ValueT nValue ) override; }; diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index 0bf86625d690..146a443e5153 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -102,8 +102,6 @@ protected: virtual short Ok(); // Is deleted in Sfx! virtual SfxItemSet* CreateInputItemSet( sal_uInt16 nId ); - // Is not deleted in Sfx! - virtual void RefreshInputSet(); virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ); VclPtr m_pActionArea; -- cgit