diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:09:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:19:22 +0200 |
commit | 91dd2db17bd6cb9b357d1d69b187174e31eabef0 (patch) | |
tree | d634de3a1a6820904b5699c2136b79b1a5a807c7 /extensions | |
parent | 6f8ea7e89ea190b9462c945d55a3ad8777b2f3ef (diff) |
loplugin:override: No more need for the "MSVC dtor override" workaround
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark
overriding destructors as 'virtual'" appears to no longer be a problem with
MSVC 2013.
(The little change in the rewriting code of compilerplugins/clang/override.cxx
was necessary to prevent an endless loop when adding "override" to
OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager();
in chart2/source/inc/LifeTime.hxx, getting stuck in the leading
OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that
isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.)
Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
Diffstat (limited to 'extensions')
91 files changed, 116 insertions, 116 deletions
diff --git a/extensions/source/abpilot/abpfinalpage.hxx b/extensions/source/abpilot/abpfinalpage.hxx index bb435a7f765e..6fa03f4b4bb5 100644 --- a/extensions/source/abpilot/abpfinalpage.hxx +++ b/extensions/source/abpilot/abpfinalpage.hxx @@ -51,7 +51,7 @@ namespace abp public: explicit FinalPage(OAddressBookSourcePilot* _pParent); - virtual ~FinalPage(); + virtual ~FinalPage() override; virtual void dispose() override; protected: diff --git a/extensions/source/abpilot/admininvokationpage.hxx b/extensions/source/abpilot/admininvokationpage.hxx index 4c0ac532fe17..ce94f61dc9a8 100644 --- a/extensions/source/abpilot/admininvokationpage.hxx +++ b/extensions/source/abpilot/admininvokationpage.hxx @@ -33,7 +33,7 @@ namespace abp public: explicit AdminDialogInvokationPage(OAddressBookSourcePilot* _pParent); - virtual ~AdminDialogInvokationPage(); + virtual ~AdminDialogInvokationPage() override; virtual void dispose() override; protected: // TabDialog overridables diff --git a/extensions/source/abpilot/fieldmappingpage.hxx b/extensions/source/abpilot/fieldmappingpage.hxx index 146ece80f2f6..32b23133a826 100644 --- a/extensions/source/abpilot/fieldmappingpage.hxx +++ b/extensions/source/abpilot/fieldmappingpage.hxx @@ -35,7 +35,7 @@ namespace abp public: explicit FieldMappingPage(OAddressBookSourcePilot* _pParent); - virtual ~FieldMappingPage(); + virtual ~FieldMappingPage() override; virtual void dispose() override; protected: // OWizardPage overridables diff --git a/extensions/source/abpilot/tableselectionpage.hxx b/extensions/source/abpilot/tableselectionpage.hxx index dac8e5f33c7e..681d9dc90fc2 100644 --- a/extensions/source/abpilot/tableselectionpage.hxx +++ b/extensions/source/abpilot/tableselectionpage.hxx @@ -35,7 +35,7 @@ namespace abp public: explicit TableSelectionPage( OAddressBookSourcePilot* _pParent ); - virtual ~TableSelectionPage(); + virtual ~TableSelectionPage() override; virtual void dispose() override; protected: // OWizardPage overridables diff --git a/extensions/source/abpilot/typeselectionpage.hxx b/extensions/source/abpilot/typeselectionpage.hxx index f5471681b122..8bfa4aa13dfb 100644 --- a/extensions/source/abpilot/typeselectionpage.hxx +++ b/extensions/source/abpilot/typeselectionpage.hxx @@ -59,7 +59,7 @@ namespace abp public: explicit TypeSelectionPage( OAddressBookSourcePilot* _pParent ); - virtual ~TypeSelectionPage(); + virtual ~TypeSelectionPage() override; virtual void dispose() override; // retrieves the currently selected type diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx index 812b30568c44..d0a488dc77b1 100644 --- a/extensions/source/bibliography/bibbeam.cxx +++ b/extensions/source/bibliography/bibbeam.cxx @@ -85,7 +85,7 @@ namespace bib public: BibGridwin(vcl::Window* pParent, WinBits nStyle = WB_3DLOOK ); - virtual ~BibGridwin(); + virtual ~BibGridwin() override; virtual void dispose() override; void createGridWin(const Reference< awt::XControlModel > & xDbForm); diff --git a/extensions/source/bibliography/bibbeam.hxx b/extensions/source/bibliography/bibbeam.hxx index 19d5f0e7b1db..ea03b209c55a 100644 --- a/extensions/source/bibliography/bibbeam.hxx +++ b/extensions/source/bibliography/bibbeam.hxx @@ -66,7 +66,7 @@ namespace bib getDispatchProviderInterception(); BibBeamer(vcl::Window* pParent,BibDataManager* pDatMan ); - virtual ~BibBeamer(); + virtual ~BibBeamer() override; virtual void dispose() override; void SetXController(const css::uno::Reference< css::frame::XController > &); diff --git a/extensions/source/bibliography/bibconfig.hxx b/extensions/source/bibliography/bibconfig.hxx index f4dba759f2e0..2b1ed8ceb880 100644 --- a/extensions/source/bibliography/bibconfig.hxx +++ b/extensions/source/bibliography/bibconfig.hxx @@ -107,7 +107,7 @@ class BibConfig : public utl::ConfigItem public: BibConfig(); - virtual ~BibConfig(); + virtual ~BibConfig() override; virtual void Notify( const css::uno::Sequence<OUString>& aPropertyNames) override; diff --git a/extensions/source/bibliography/bibcont.hxx b/extensions/source/bibliography/bibcont.hxx index a47cafb01b83..6b6435c1c8b9 100644 --- a/extensions/source/bibliography/bibcont.hxx +++ b/extensions/source/bibliography/bibcont.hxx @@ -42,7 +42,7 @@ class BibWindowContainer : public BibWindow //Window public: BibWindowContainer( vcl::Window* pParent, BibShortCutHandler* pChild); - virtual ~BibWindowContainer(); + virtual ~BibWindowContainer() override; virtual void dispose() override; inline vcl::Window* GetChild(); @@ -83,7 +83,7 @@ class BibBookContainer: public BibSplitWindow public: BibBookContainer(vcl::Window* pParent ); - virtual ~BibBookContainer(); + virtual ~BibBookContainer() override; virtual void dispose() override; // !BibShortCutHandler is also always a Window! diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 3d9d4756afc2..6144d9ef0ff1 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -94,7 +94,7 @@ private: public: BibliographyLoader(); - virtual ~BibliographyLoader(); + virtual ~BibliographyLoader() override; // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) override; diff --git a/extensions/source/bibliography/bibshortcuthandler.hxx b/extensions/source/bibliography/bibshortcuthandler.hxx index daef09c081e9..12e28ebff577 100644 --- a/extensions/source/bibliography/bibshortcuthandler.hxx +++ b/extensions/source/bibliography/bibshortcuthandler.hxx @@ -56,7 +56,7 @@ class BibWindow : public vcl::Window, public BibShortCutHandler { public: BibWindow( vcl::Window* pParent,WinBits nStyle = WB_3DLOOK); - virtual ~BibWindow(); + virtual ~BibWindow() override; }; class BibSplitWindow : public SplitWindow, public BibShortCutHandler diff --git a/extensions/source/bibliography/bibview.hxx b/extensions/source/bibliography/bibview.hxx index 8bc191c04765..8e68191a9ec1 100644 --- a/extensions/source/bibliography/bibview.hxx +++ b/extensions/source/bibliography/bibview.hxx @@ -71,7 +71,7 @@ namespace bib public: BibView( vcl::Window* _pParent, BibDataManager* _pDatMan, WinBits nStyle = WB_3DLOOK ); - virtual ~BibView(); + virtual ~BibView() override; virtual void dispose() override; void UpdatePages(); diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 8ce8ba0f6f37..5062274d449a 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -241,7 +241,7 @@ class MappingDialog_Impl : public ModalDialog public: MappingDialog_Impl(vcl::Window* pParent, BibDataManager* pDatMan); - virtual ~MappingDialog_Impl(); + virtual ~MappingDialog_Impl() override; virtual void dispose() override; void SetModified() {bModified = true;} @@ -476,7 +476,7 @@ class DBChangeDialog_Impl : public ModalDialog DECL_LINK_TYPED(DoubleClickHdl, ListBox&, void); public: DBChangeDialog_Impl(vcl::Window* pParent, BibDataManager* pMan ); - virtual ~DBChangeDialog_Impl(); + virtual ~DBChangeDialog_Impl() override; virtual void dispose() override; OUString GetCurrentURL()const; diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx index 3ba10aac8047..c8d1b4c61595 100644 --- a/extensions/source/bibliography/datman.hxx +++ b/extensions/source/bibliography/datman.hxx @@ -56,7 +56,7 @@ private: css::uno::Reference< css::frame::XDispatchProviderInterception > xInterception; protected: - virtual ~BibInterceptorHelper( ); + virtual ~BibInterceptorHelper( ) override; public: BibInterceptorHelper( ::bib::BibBeamer* pBibBeamer, css::uno::Reference< css::frame::XDispatch > const & xDispatch); @@ -124,7 +124,7 @@ protected: public: BibDataManager(); - virtual ~BibDataManager(); + virtual ~BibDataManager() override; virtual void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent& evt) throw( css::uno::RuntimeException, std::exception ) override; diff --git a/extensions/source/bibliography/formcontrolcontainer.hxx b/extensions/source/bibliography/formcontrolcontainer.hxx index f67ee4a09c63..3f35df98268e 100644 --- a/extensions/source/bibliography/formcontrolcontainer.hxx +++ b/extensions/source/bibliography/formcontrolcontainer.hxx @@ -40,7 +40,7 @@ namespace bib protected: FormControlContainer( ); - virtual ~FormControlContainer( ); + virtual ~FormControlContainer( ) override; bool isFormConnected() const { return nullptr != m_pFormAdapter; } void connectForm( const css::uno::Reference< css::form::XLoadable >& _rxForm ); diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 6da8c22c8a1e..b1bceba699fb 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -144,7 +144,7 @@ public: , pController(nullptr) {} - virtual ~BibFrameCtrl_Impl(); + virtual ~BibFrameCtrl_Impl() override; virtual void SAL_CALL frameAction(const FrameActionEvent& aEvent) throw( RuntimeException, std::exception ) override; virtual void SAL_CALL disposing( const lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/bibliography/framectr.hxx b/extensions/source/bibliography/framectr.hxx index a68b4b933dfe..2efbbd0d3eed 100644 --- a/extensions/source/bibliography/framectr.hxx +++ b/extensions/source/bibliography/framectr.hxx @@ -76,7 +76,7 @@ friend class BibFrameCtrl_Impl; public: BibFrameController_Impl( const css::uno::Reference< css::awt::XWindow > & xComponent, BibDataManager* pDatMan); - virtual ~BibFrameController_Impl(); + virtual ~BibFrameController_Impl() override; void ChangeDataSource(const css::uno::Sequence< css::beans::PropertyValue >& aArgs); diff --git a/extensions/source/bibliography/general.hxx b/extensions/source/bibliography/general.hxx index 65fd646b0490..37005847bc38 100644 --- a/extensions/source/bibliography/general.hxx +++ b/extensions/source/bibliography/general.hxx @@ -141,7 +141,7 @@ protected: public: BibGeneralPage(vcl::Window* pParent, BibDataManager* pDatMan); - virtual ~BibGeneralPage(); + virtual ~BibGeneralPage() override; virtual void dispose() override; inline const OUString& GetErrorString() const; diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx index 136f8382ee64..e8ae3c5cd54d 100644 --- a/extensions/source/bibliography/toolbar.hxx +++ b/extensions/source/bibliography/toolbar.hxx @@ -49,7 +49,7 @@ protected: public: BibToolBarListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - virtual ~BibToolBarListener(); + virtual ~BibToolBarListener() override; const OUString& GetCommand() const { return aCommand;} @@ -69,7 +69,7 @@ class BibTBListBoxListener: public BibToolBarListener public: BibTBListBoxListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - virtual ~BibTBListBoxListener(); + virtual ~BibTBListBoxListener() override; virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& Event) throw( css::uno::RuntimeException, std::exception ) override; @@ -81,7 +81,7 @@ class BibTBEditListener: public BibToolBarListener public: BibTBEditListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - virtual ~BibTBEditListener(); + virtual ~BibTBEditListener() override; virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& Event) throw( css::uno::RuntimeException, std::exception ) override; @@ -93,7 +93,7 @@ class BibTBQueryMenuListener: public BibToolBarListener public: BibTBQueryMenuListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - virtual ~BibTBQueryMenuListener(); + virtual ~BibTBQueryMenuListener() override; virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& Event) throw( css::uno::RuntimeException, std::exception ) override; @@ -156,7 +156,7 @@ class BibToolBar: public ToolBox public: BibToolBar(vcl::Window* pParent, Link<void*,void> aLink); - virtual ~BibToolBar(); + virtual ~BibToolBar() override; virtual void dispose() override; sal_uInt16 GetChangeSourceId() const { return nTBC_BT_CHANGESOURCE; } diff --git a/extensions/source/config/ldap/ldapuserprofilebe.hxx b/extensions/source/config/ldap/ldapuserprofilebe.hxx index 0a3d731abdb4..2a50c44bfab7 100644 --- a/extensions/source/config/ldap/ldapuserprofilebe.hxx +++ b/extensions/source/config/ldap/ldapuserprofilebe.hxx @@ -55,7 +55,7 @@ class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase public: explicit LdapUserProfileBe(const uno::Reference<uno::XComponentContext>& xContext); - virtual ~LdapUserProfileBe() ; + virtual ~LdapUserProfileBe() override ; // XServiceInfo virtual OUString SAL_CALL diff --git a/extensions/source/dbpilots/commonpagesdbp.hxx b/extensions/source/dbpilots/commonpagesdbp.hxx index ffe47dad7baf..71c2a5f5e5bc 100644 --- a/extensions/source/dbpilots/commonpagesdbp.hxx +++ b/extensions/source/dbpilots/commonpagesdbp.hxx @@ -42,7 +42,7 @@ namespace dbp public: explicit OTableSelectionPage(OControlWizard* _pParent); - virtual ~OTableSelectionPage(); + virtual ~OTableSelectionPage() override; virtual void dispose() override; protected: @@ -75,7 +75,7 @@ namespace dbp public: OMaybeListSelectionPage( OControlWizard* _pParent, const OString& _rID, const OUString& _rUIXMLDescription ); - virtual ~OMaybeListSelectionPage(); + virtual ~OMaybeListSelectionPage() override; virtual void dispose() override; protected: @@ -106,7 +106,7 @@ namespace dbp public: explicit ODBFieldPage( OControlWizard* _pParent ); - virtual ~ODBFieldPage(); + virtual ~ODBFieldPage() override; virtual void dispose() override; protected: diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx index 59b66560ec39..7c62c45214f9 100644 --- a/extensions/source/dbpilots/controlwizard.hxx +++ b/extensions/source/dbpilots/controlwizard.hxx @@ -66,7 +66,7 @@ namespace dbp getFormConnection() const; public: OControlWizardPage( OControlWizard* _pParent, const OString& rID, const OUString& rUIXMLDescription ); - virtual ~OControlWizardPage(); + virtual ~OControlWizardPage() override; virtual void dispose() override; protected: @@ -101,7 +101,7 @@ namespace dbp const css::uno::Reference< css::beans::XPropertySet >& _rxObjectModel, const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~OControlWizard(); + virtual ~OControlWizard() override; // make the some base class methods public bool travelNext() { return OControlWizard_Base::travelNext(); } diff --git a/extensions/source/dbpilots/gridwizard.hxx b/extensions/source/dbpilots/gridwizard.hxx index 4e5a52dc507c..b03a754e267a 100644 --- a/extensions/source/dbpilots/gridwizard.hxx +++ b/extensions/source/dbpilots/gridwizard.hxx @@ -81,7 +81,7 @@ namespace dbp public: explicit OGridFieldsSelection( OGridWizard* _pParent ); - virtual ~OGridFieldsSelection(); + virtual ~OGridFieldsSelection() override; virtual void dispose() override; protected: diff --git a/extensions/source/dbpilots/groupboxwiz.hxx b/extensions/source/dbpilots/groupboxwiz.hxx index 2c3262dd216e..e028357515f0 100644 --- a/extensions/source/dbpilots/groupboxwiz.hxx +++ b/extensions/source/dbpilots/groupboxwiz.hxx @@ -87,7 +87,7 @@ namespace dbp public: explicit ORadioSelectionPage( OControlWizard* _pParent ); - virtual ~ORadioSelectionPage(); + virtual ~ORadioSelectionPage() override; virtual void dispose() override; protected: @@ -115,7 +115,7 @@ namespace dbp public: explicit ODefaultFieldSelectionPage( OControlWizard* _pParent ); - virtual ~ODefaultFieldSelectionPage(); + virtual ~ODefaultFieldSelectionPage() override; virtual void dispose() override; protected: @@ -138,7 +138,7 @@ namespace dbp public: explicit OOptionValuesPage( OControlWizard* _pParent ); - virtual ~OOptionValuesPage(); + virtual ~OOptionValuesPage() override; virtual void dispose() override; protected: @@ -173,7 +173,7 @@ namespace dbp public: explicit OFinalizeGBWPage( OControlWizard* _pParent ); - virtual ~OFinalizeGBWPage(); + virtual ~OFinalizeGBWPage() override; virtual void dispose() override; protected: diff --git a/extensions/source/dbpilots/listcombowizard.hxx b/extensions/source/dbpilots/listcombowizard.hxx index cd7c8a82b941..a1d0e4237111 100644 --- a/extensions/source/dbpilots/listcombowizard.hxx +++ b/extensions/source/dbpilots/listcombowizard.hxx @@ -100,7 +100,7 @@ namespace dbp public: explicit OContentTableSelection( OListComboWizard* _pParent ); - virtual ~OContentTableSelection(); + virtual ~OContentTableSelection() override; virtual void dispose() override; protected: @@ -127,7 +127,7 @@ namespace dbp public: explicit OContentFieldSelection( OListComboWizard* _pParent ); - virtual ~OContentFieldSelection(); + virtual ~OContentFieldSelection() override; virtual void dispose() override; protected: @@ -152,7 +152,7 @@ namespace dbp public: explicit OLinkFieldsPage( OListComboWizard* _pParent ); - virtual ~OLinkFieldsPage(); + virtual ~OLinkFieldsPage() override; virtual void dispose() override; protected: diff --git a/extensions/source/logging/consolehandler.cxx b/extensions/source/logging/consolehandler.cxx index 964b6da10674..ea6af6884ddd 100644 --- a/extensions/source/logging/consolehandler.cxx +++ b/extensions/source/logging/consolehandler.cxx @@ -61,7 +61,7 @@ namespace logging public: ConsoleHandler(const Reference<XComponentContext> &context, const css::uno::Sequence<css::uno::Any> &arguments); - virtual ~ConsoleHandler(); + virtual ~ConsoleHandler() override; private: // XConsoleHandler diff --git a/extensions/source/logging/csvformatter.cxx b/extensions/source/logging/csvformatter.cxx index 3b91daefc1d7..3da67b366b77 100644 --- a/extensions/source/logging/csvformatter.cxx +++ b/extensions/source/logging/csvformatter.cxx @@ -46,7 +46,7 @@ namespace logging virtual OUString SAL_CALL formatMultiColumn(const Sequence< OUString>& column_data) throw (RuntimeException, std::exception) override; CsvFormatter(); - virtual ~CsvFormatter(); + virtual ~CsvFormatter() override; private: // XCsvLogFormatter diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx index ae155fbc544f..c1bd711346cb 100644 --- a/extensions/source/logging/filehandler.cxx +++ b/extensions/source/logging/filehandler.cxx @@ -83,7 +83,7 @@ namespace logging public: FileHandler(const css::uno::Reference<XComponentContext> &context, const css::uno::Sequence<css::uno::Any> &arguments); - virtual ~FileHandler(); + virtual ~FileHandler() override; private: // XLogHandler diff --git a/extensions/source/logging/logger.cxx b/extensions/source/logging/logger.cxx index 6e8d757cfeb7..ff3d731879e7 100644 --- a/extensions/source/logging/logger.cxx +++ b/extensions/source/logging/logger.cxx @@ -76,7 +76,7 @@ namespace logging virtual void SAL_CALL logp( ::sal_Int32 Level, const OUString& SourceClass, const OUString& SourceMethod, const OUString& Message ) throw (RuntimeException, std::exception) override; protected: - virtual ~EventLogger(); + virtual ~EventLogger() override; private: /** logs the given log record diff --git a/extensions/source/logging/plaintextformatter.cxx b/extensions/source/logging/plaintextformatter.cxx index 838d7686f032..c88a1f7bd3fa 100644 --- a/extensions/source/logging/plaintextformatter.cxx +++ b/extensions/source/logging/plaintextformatter.cxx @@ -43,7 +43,7 @@ namespace logging { public: PlainTextFormatter(); - virtual ~PlainTextFormatter(); + virtual ~PlainTextFormatter() override; private: // XLogFormatter diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index bbe2b92f62d6..86bd00caec55 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -160,7 +160,7 @@ namespace pcr virtual void SAL_CALL release() throw() override; protected: - virtual ~PropertyControlContext_Impl(); + virtual ~PropertyControlContext_Impl() override; // XPropertyControlObserver virtual void SAL_CALL focusGained( const Reference< XPropertyControl >& Control ) throw (RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/browserlistbox.hxx b/extensions/source/propctrlr/browserlistbox.hxx index 60e42da4ca3c..325afbe8fe76 100644 --- a/extensions/source/propctrlr/browserlistbox.hxx +++ b/extensions/source/propctrlr/browserlistbox.hxx @@ -104,7 +104,7 @@ namespace pcr public: OBrowserListBox( vcl::Window* pParent ); - virtual ~OBrowserListBox(); + virtual ~OBrowserListBox() override; virtual void dispose() override; void UpdateAll(); diff --git a/extensions/source/propctrlr/browserpage.hxx b/extensions/source/propctrlr/browserpage.hxx index 86bbfb9cefff..55288a0a08a2 100644 --- a/extensions/source/propctrlr/browserpage.hxx +++ b/extensions/source/propctrlr/browserpage.hxx @@ -38,7 +38,7 @@ namespace pcr public: explicit OBrowserPage(vcl::Window* pParent); - virtual ~OBrowserPage(); + virtual ~OBrowserPage() override; virtual void dispose() override; sal_Int32 getMinimumWidth(); diff --git a/extensions/source/propctrlr/browserview.hxx b/extensions/source/propctrlr/browserview.hxx index 12885d427ea0..2589a833a6bb 100644 --- a/extensions/source/propctrlr/browserview.hxx +++ b/extensions/source/propctrlr/browserview.hxx @@ -46,7 +46,7 @@ namespace pcr public: explicit OPropertyBrowserView( vcl::Window* pParent); - virtual ~OPropertyBrowserView(); + virtual ~OPropertyBrowserView() override; virtual void dispose() override; OPropertyEditor& getPropertyBox() { return *m_pPropBox; } diff --git a/extensions/source/propctrlr/buttonnavigationhandler.hxx b/extensions/source/propctrlr/buttonnavigationhandler.hxx index 7f930af1f3dc..48190361ba6b 100644 --- a/extensions/source/propctrlr/buttonnavigationhandler.hxx +++ b/extensions/source/propctrlr/buttonnavigationhandler.hxx @@ -44,7 +44,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~ButtonNavigationHandler(); + virtual ~ButtonNavigationHandler() override; static bool isNavigationCapableButton( const css::uno::Reference< css::beans::XPropertySet >& _rxComponent ); diff --git a/extensions/source/propctrlr/cellbindinghandler.hxx b/extensions/source/propctrlr/cellbindinghandler.hxx index 21f50d7dcc7a..b8422b6e20ba 100644 --- a/extensions/source/propctrlr/cellbindinghandler.hxx +++ b/extensions/source/propctrlr/cellbindinghandler.hxx @@ -52,7 +52,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~CellBindingPropertyHandler(); + virtual ~CellBindingPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx index 8295cdd3bd76..2bf17ca2fa02 100644 --- a/extensions/source/propctrlr/composeduiupdate.cxx +++ b/extensions/source/propctrlr/composeduiupdate.cxx @@ -145,7 +145,7 @@ namespace pcr virtual void SAL_CALL setHelpSectionText( const OUString& HelpText ) throw (NoSupportException, RuntimeException, std::exception) override; protected: - virtual ~CachedInspectorUI(); + virtual ~CachedInspectorUI() override; /// determines whether the instance is already disposed inline bool isDisposed() const { return m_bDisposed; } diff --git a/extensions/source/propctrlr/controlfontdialog.hxx b/extensions/source/propctrlr/controlfontdialog.hxx index 9c8c59a18aff..de7917327aab 100644 --- a/extensions/source/propctrlr/controlfontdialog.hxx +++ b/extensions/source/propctrlr/controlfontdialog.hxx @@ -51,7 +51,7 @@ namespace pcr public: explicit OControlFontDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxContext); - virtual ~OControlFontDialog(); + virtual ~OControlFontDialog() override; // XTypeProvider virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/defaultforminspection.hxx b/extensions/source/propctrlr/defaultforminspection.hxx index ba4f2856b8ce..cf0fa74a76d3 100644 --- a/extensions/source/propctrlr/defaultforminspection.hxx +++ b/extensions/source/propctrlr/defaultforminspection.hxx @@ -40,7 +40,7 @@ namespace pcr ::std::unique_ptr< OPropertyInfoService > m_pInfoService; protected: - virtual ~DefaultFormComponentInspectorModel(); + virtual ~DefaultFormComponentInspectorModel() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/defaulthelpprovider.hxx b/extensions/source/propctrlr/defaulthelpprovider.hxx index 0bac31f580c3..92dbd28f6b30 100644 --- a/extensions/source/propctrlr/defaulthelpprovider.hxx +++ b/extensions/source/propctrlr/defaulthelpprovider.hxx @@ -56,7 +56,7 @@ namespace pcr Create(const css::uno::Reference< css::uno::XComponentContext >&); protected: - virtual ~DefaultHelpProvider(); + virtual ~DefaultHelpProvider() override; // XPropertyControlObserver virtual void SAL_CALL focusGained( const css::uno::Reference< css::inspection::XPropertyControl >& Control ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/editpropertyhandler.hxx b/extensions/source/propctrlr/editpropertyhandler.hxx index a7fe7a551f2e..27f8c034c1e7 100644 --- a/extensions/source/propctrlr/editpropertyhandler.hxx +++ b/extensions/source/propctrlr/editpropertyhandler.hxx @@ -44,7 +44,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~EditPropertyHandler(); + virtual ~EditPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/eformspropertyhandler.hxx b/extensions/source/propctrlr/eformspropertyhandler.hxx index 17b8fd267a4e..6d34ceaf3c5b 100644 --- a/extensions/source/propctrlr/eformspropertyhandler.hxx +++ b/extensions/source/propctrlr/eformspropertyhandler.hxx @@ -55,7 +55,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~EFormsPropertyHandler(); + virtual ~EFormsPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/enumrepresentation.hxx b/extensions/source/propctrlr/enumrepresentation.hxx index f88ae0365e67..309af3c6f745 100644 --- a/extensions/source/propctrlr/enumrepresentation.hxx +++ b/extensions/source/propctrlr/enumrepresentation.hxx @@ -55,7 +55,7 @@ namespace pcr const css::uno::Any& _rEnumValue ) const = 0; - virtual ~IPropertyEnumRepresentation() { }; + virtual ~IPropertyEnumRepresentation() override { }; }; diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index d51301b47b05..a1b6240f08d4 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -337,7 +337,7 @@ namespace pcr virtual sal_Bool SAL_CALL hasElements( ) throw (RuntimeException, std::exception) override; protected: - virtual ~EventHolder( ); + virtual ~EventHolder( ) override; private: ScriptEventDescriptor impl_getDescriptor_throw( const OUString& _rEventName ) const; diff --git a/extensions/source/propctrlr/eventhandler.hxx b/extensions/source/propctrlr/eventhandler.hxx index afa9e7f0a775..634b2f92d8cf 100644 --- a/extensions/source/propctrlr/eventhandler.hxx +++ b/extensions/source/propctrlr/eventhandler.hxx @@ -105,7 +105,7 @@ namespace pcr const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~EventHandler(); + virtual ~EventHandler() override; protected: // XPropertyHandler overridables diff --git a/extensions/source/propctrlr/fontdialog.hxx b/extensions/source/propctrlr/fontdialog.hxx index e04134949242..ca0b4380dce5 100644 --- a/extensions/source/propctrlr/fontdialog.hxx +++ b/extensions/source/propctrlr/fontdialog.hxx @@ -35,7 +35,7 @@ namespace pcr { public: ControlCharacterDialog(vcl::Window* _pParent, const SfxItemSet& _rCoreSet); - virtual ~ControlCharacterDialog(); + virtual ~ControlCharacterDialog() override; /// creates an item set to be used with this dialog static SfxItemSet* createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rpPool, SfxPoolItem**& _rppDefaults); diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx index b3e6c76504a8..71c83c57dcd0 100644 --- a/extensions/source/propctrlr/formcomponenthandler.hxx +++ b/extensions/source/propctrlr/formcomponenthandler.hxx @@ -107,7 +107,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~FormComponentPropertyHandler(); + virtual ~FormComponentPropertyHandler() override; protected: virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override; diff --git a/extensions/source/propctrlr/formcontroller.hxx b/extensions/source/propctrlr/formcontroller.hxx index b08276bef45a..53be685e7563 100644 --- a/extensions/source/propctrlr/formcontroller.hxx +++ b/extensions/source/propctrlr/formcontroller.hxx @@ -74,7 +74,7 @@ namespace pcr Create(const css::uno::Reference< css::uno::XComponentContext >&); protected: - virtual ~FormController(); + virtual ~FormController() override; DECLARE_XINTERFACE() DECLARE_XTYPEPROVIDER() diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx index fda8276fbdb0..8f35c95d0e11 100644 --- a/extensions/source/propctrlr/formgeometryhandler.cxx +++ b/extensions/source/propctrlr/formgeometryhandler.cxx @@ -173,7 +173,7 @@ namespace pcr virtual void SAL_CALL disposing( const EventObject& _event ) throw (RuntimeException, std::exception) override; protected: - virtual ~ShapeGeometryChangeNotifier() + virtual ~ShapeGeometryChangeNotifier() override { if ( !getBroadcastHelper().bDisposed ) { @@ -213,7 +213,7 @@ namespace pcr static Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (RuntimeException); protected: - virtual ~FormGeometryHandler(); + virtual ~FormGeometryHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/formlinkdialog.cxx b/extensions/source/propctrlr/formlinkdialog.cxx index 326d9a6b75ce..22e9dc321382 100644 --- a/extensions/source/propctrlr/formlinkdialog.cxx +++ b/extensions/source/propctrlr/formlinkdialog.cxx @@ -73,7 +73,7 @@ namespace pcr public: explicit FieldLinkRow( vcl::Window* _pParent ); - virtual ~FieldLinkRow(); + virtual ~FieldLinkRow() override; virtual void dispose() override; inline void SetLinkChangeHandler( const Link<FieldLinkRow&,void>& _rHdl ) { m_aLinkChangeHandler = _rHdl; } diff --git a/extensions/source/propctrlr/formlinkdialog.hxx b/extensions/source/propctrlr/formlinkdialog.hxx index 896c94180d24..215f02e7c9a3 100644 --- a/extensions/source/propctrlr/formlinkdialog.hxx +++ b/extensions/source/propctrlr/formlinkdialog.hxx @@ -77,7 +77,7 @@ namespace pcr const OUString& _sDetailLabel = OUString(), const OUString& _sMasterLabel = OUString() ); - virtual ~FormLinkDialog( ); + virtual ~FormLinkDialog( ) override; virtual void dispose() override; // Dialog overridables diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx index 4e3f3b18ba6b..7208a00676c1 100644 --- a/extensions/source/propctrlr/formmetadata.hxx +++ b/extensions/source/propctrlr/formmetadata.hxx @@ -85,7 +85,7 @@ namespace pcr DefaultEnumRepresentation( const IPropertyInfoService& _rInfo, const css::uno::Type& _rType, sal_Int32 _nPropertyId ); protected: - virtual ~DefaultEnumRepresentation(); + virtual ~DefaultEnumRepresentation() override; protected: // IPropertyEnumRepresentation implementqation diff --git a/extensions/source/propctrlr/genericpropertyhandler.cxx b/extensions/source/propctrlr/genericpropertyhandler.cxx index 4cef8339ae9d..175613312aa5 100644 --- a/extensions/source/propctrlr/genericpropertyhandler.cxx +++ b/extensions/source/propctrlr/genericpropertyhandler.cxx @@ -184,7 +184,7 @@ namespace pcr UrlClickHandler( const Reference<XComponentContext>& _rContext, const Reference< XHyperlinkControl >& _rxControl ); protected: - virtual ~UrlClickHandler(); + virtual ~UrlClickHandler() override; // XActionListener virtual void SAL_CALL actionPerformed( const ActionEvent& rEvent ) throw (RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/genericpropertyhandler.hxx b/extensions/source/propctrlr/genericpropertyhandler.hxx index 384297a7db0e..7027a272eb9f 100644 --- a/extensions/source/propctrlr/genericpropertyhandler.hxx +++ b/extensions/source/propctrlr/genericpropertyhandler.hxx @@ -90,7 +90,7 @@ namespace pcr const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~GenericPropertyHandler(); + virtual ~GenericPropertyHandler() override; protected: // XPropertyHandler overridables diff --git a/extensions/source/propctrlr/inspectorhelpwindow.hxx b/extensions/source/propctrlr/inspectorhelpwindow.hxx index 11ba385a040e..4cae0bace1bd 100644 --- a/extensions/source/propctrlr/inspectorhelpwindow.hxx +++ b/extensions/source/propctrlr/inspectorhelpwindow.hxx @@ -40,7 +40,7 @@ namespace pcr public: explicit InspectorHelpWindow( vcl::Window* _pParent ); - virtual ~InspectorHelpWindow(); + virtual ~InspectorHelpWindow() override; virtual void dispose() override; virtual void SetText( const OUString& rStr ) override; diff --git a/extensions/source/propctrlr/inspectormodelbase.hxx b/extensions/source/propctrlr/inspectormodelbase.hxx index eae50b565909..747fd7aabd0b 100644 --- a/extensions/source/propctrlr/inspectormodelbase.hxx +++ b/extensions/source/propctrlr/inspectormodelbase.hxx @@ -57,7 +57,7 @@ namespace pcr ::std::unique_ptr< InspectorModelProperties > m_pProperties; protected: - virtual ~ImplInspectorModel(); + virtual ~ImplInspectorModel() override; public: ImplInspectorModel(); diff --git a/extensions/source/propctrlr/listselectiondlg.hxx b/extensions/source/propctrlr/listselectiondlg.hxx index 6404aeb82a24..1d2d9b08b0cb 100644 --- a/extensions/source/propctrlr/listselectiondlg.hxx +++ b/extensions/source/propctrlr/listselectiondlg.hxx @@ -44,7 +44,7 @@ namespace pcr const OUString& _rPropertyName, const OUString& _rPropertyUIName ); - virtual ~ListSelectionDialog(); + virtual ~ListSelectionDialog() override; virtual void dispose() override; // Dialog overridables diff --git a/extensions/source/propctrlr/newdatatype.hxx b/extensions/source/propctrlr/newdatatype.hxx index 24358f907fd0..94fd4e8b396b 100644 --- a/extensions/source/propctrlr/newdatatype.hxx +++ b/extensions/source/propctrlr/newdatatype.hxx @@ -43,7 +43,7 @@ namespace pcr public: NewDataTypeDialog(vcl::Window* _pParent, const OUString& _rNameBase, const ::std::vector< OUString >& _rProhibitedNames ); - virtual ~NewDataTypeDialog(); + virtual ~NewDataTypeDialog() override; virtual void dispose() override; OUString GetName() const { return m_pName->GetText(); } diff --git a/extensions/source/propctrlr/pcrunodialogs.hxx b/extensions/source/propctrlr/pcrunodialogs.hxx index 65db4dd16f37..6e99e89ebc51 100644 --- a/extensions/source/propctrlr/pcrunodialogs.hxx +++ b/extensions/source/propctrlr/pcrunodialogs.hxx @@ -50,7 +50,7 @@ namespace pcr public: explicit OTabOrderDialog( const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~OTabOrderDialog(); + virtual ~OTabOrderDialog() override; // XTypeProvider virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/propcontroller.hxx b/extensions/source/propctrlr/propcontroller.hxx index b7b02ac3e874..e7e289a59941 100644 --- a/extensions/source/propctrlr/propcontroller.hxx +++ b/extensions/source/propctrlr/propcontroller.hxx @@ -186,7 +186,7 @@ namespace pcr const css::uno::Reference< css::uno::XComponentContext >& _rxContext); protected: - virtual ~OPropertyBrowserController(); + virtual ~OPropertyBrowserController() override; public: // XServiceInfo - static versions diff --git a/extensions/source/propctrlr/propertycontrolextender.hxx b/extensions/source/propctrlr/propertycontrolextender.hxx index aa615184f77c..e0103d8bcbb2 100644 --- a/extensions/source/propctrlr/propertycontrolextender.hxx +++ b/extensions/source/propctrlr/propertycontrolextender.hxx @@ -51,7 +51,7 @@ namespace pcr virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~PropertyControlExtender(); + virtual ~PropertyControlExtender() override; private: ::std::unique_ptr< PropertyControlExtender_Data > m_pData; diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx index 9cc621119262..e5cba4ecb2f8 100644 --- a/extensions/source/propctrlr/propertyeditor.hxx +++ b/extensions/source/propctrlr/propertyeditor.hxx @@ -71,7 +71,7 @@ namespace pcr public: OPropertyEditor (vcl::Window* pParent); - virtual ~OPropertyEditor(); + virtual ~OPropertyEditor() override; virtual void dispose() override; void EnableUpdate(); diff --git a/extensions/source/propctrlr/propertyhandler.hxx b/extensions/source/propctrlr/propertyhandler.hxx index 93c47830a81e..a1b6a429db1d 100644 --- a/extensions/source/propctrlr/propertyhandler.hxx +++ b/extensions/source/propctrlr/propertyhandler.hxx @@ -100,7 +100,7 @@ namespace pcr explicit PropertyHandler( const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~PropertyHandler(); + virtual ~PropertyHandler() override; // default implementations for XPropertyHandler virtual void SAL_CALL inspect( const css::uno::Reference< css::uno::XInterface >& _rxIntrospectee ) throw (css::uno::RuntimeException, css::lang::NullPointerException, std::exception) override; diff --git a/extensions/source/propctrlr/selectlabeldialog.hxx b/extensions/source/propctrlr/selectlabeldialog.hxx index a02c64bf5bee..3cdfee4927f8 100644 --- a/extensions/source/propctrlr/selectlabeldialog.hxx +++ b/extensions/source/propctrlr/selectlabeldialog.hxx @@ -56,7 +56,7 @@ namespace pcr public: OSelectLabelDialog(vcl::Window* pParent, css::uno::Reference< css::beans::XPropertySet > const & _xControlModel); - virtual ~OSelectLabelDialog(); + virtual ~OSelectLabelDialog() override; virtual void dispose() override; css::uno::Reference< css::beans::XPropertySet > GetSelected() const { return m_pNoAssignment->IsChecked() ? css::uno::Reference< css::beans::XPropertySet > () : m_xSelectedControl; } diff --git a/extensions/source/propctrlr/sqlcommanddesign.hxx b/extensions/source/propctrlr/sqlcommanddesign.hxx index 88cb0fa8dfd4..d712312c52bd 100644 --- a/extensions/source/propctrlr/sqlcommanddesign.hxx +++ b/extensions/source/propctrlr/sqlcommanddesign.hxx @@ -116,7 +116,7 @@ namespace pcr virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~SQLCommandDesigner(); + virtual ~SQLCommandDesigner() override; /** opens a new frame for interactively designing an SQL command @precond @@ -193,7 +193,7 @@ namespace pcr /// sets a new EscapeProcessing property value virtual void setEscapeProcessing( const bool _bEscapeProcessing ) const = 0; - virtual ~ISQLCommandAdapter(); + virtual ~ISQLCommandAdapter() override; }; diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 78b5ea6f8511..ce0f6ecdc850 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -961,7 +961,7 @@ namespace pcr public: explicit OMultilineFloatingEdit(vcl::Window* _pParen); - virtual ~OMultilineFloatingEdit(); + virtual ~OMultilineFloatingEdit() override; virtual void dispose() override; MultiLineEdit& getEdit() { return *m_aImplEdit.get(); } diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx index a339c7112a72..5da40afbb358 100644 --- a/extensions/source/propctrlr/standardcontrol.hxx +++ b/extensions/source/propctrlr/standardcontrol.hxx @@ -364,7 +364,7 @@ namespace pcr public: DropDownEditControl( vcl::Window* _pParent, WinBits _nStyle ); - virtual ~DropDownEditControl(); + virtual ~DropDownEditControl() override; virtual void dispose() override; void setControlHelper( CommonBehaviourControlHelper& _rControlHelper ); diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index c570ef989549..8f3407597676 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -86,7 +86,7 @@ public: virtual void SAL_CALL initialize(const uno::Sequence< uno::Any > & aArguments) throw (uno::RuntimeException, uno::Exception, std::exception) override; private: - virtual ~StringRepresentation() {} + virtual ~StringRepresentation() override {} /** converts a generic value into a string representation diff --git a/extensions/source/propctrlr/submissionhandler.hxx b/extensions/source/propctrlr/submissionhandler.hxx index 7a64cc35ba07..45d29bb7439a 100644 --- a/extensions/source/propctrlr/submissionhandler.hxx +++ b/extensions/source/propctrlr/submissionhandler.hxx @@ -80,7 +80,7 @@ namespace pcr static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException); static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); - virtual ~SubmissionPropertyHandler(); + virtual ~SubmissionPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/taborder.hxx b/extensions/source/propctrlr/taborder.hxx index c254ade89c9c..cd6963a609c2 100644 --- a/extensions/source/propctrlr/taborder.hxx +++ b/extensions/source/propctrlr/taborder.hxx @@ -46,7 +46,7 @@ namespace pcr { public: TabOrderListBox( vcl::Window* pParent, WinBits nBits ); - virtual ~TabOrderListBox(); + virtual ~TabOrderListBox() override; void MoveSelection( long nRelPos ); @@ -99,7 +99,7 @@ namespace pcr const css::uno::Reference< css::uno::XComponentContext >& _rxORB ); - virtual ~TabOrderDialog(); + virtual ~TabOrderDialog() override; virtual void dispose() override; void SetModified(); diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx index 2188f540f000..973e99e926c7 100644 --- a/extensions/source/propctrlr/usercontrol.hxx +++ b/extensions/source/propctrlr/usercontrol.hxx @@ -118,7 +118,7 @@ namespace pcr void SetThousandsSep(bool bEnable) { getTypedControlWindow()->SetThousandsSep(bEnable); } protected: - virtual ~OFormattedNumericControl(); + virtual ~OFormattedNumericControl() override; }; @@ -136,7 +136,7 @@ namespace pcr virtual css::uno::Type SAL_CALL getValueType() throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~OFileUrlControl(); + virtual ~OFileUrlControl() override; }; @@ -146,7 +146,7 @@ namespace pcr { public: OTimeDurationControl( vcl::Window* pParent ); - virtual ~OTimeDurationControl(); + virtual ~OTimeDurationControl() override; // XPropertyControl ::sal_Int16 SAL_CALL getControlType() throw (css::uno::RuntimeException) override; diff --git a/extensions/source/propctrlr/xsddatatypes.hxx b/extensions/source/propctrlr/xsddatatypes.hxx index 0732abb1f5ae..76bd10f3a3f9 100644 --- a/extensions/source/propctrlr/xsddatatypes.hxx +++ b/extensions/source/propctrlr/xsddatatypes.hxx @@ -76,7 +76,7 @@ namespace pcr void copyFacetsFrom( const ::rtl::Reference< XSDDataType >& _pSourceType ); protected: - virtual ~XSDDataType(); + virtual ~XSDDataType() override; private: XSDDataType( const XSDDataType& ) = delete; diff --git a/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx b/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx index e4f2464e65d8..cd7ef544e767 100644 --- a/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx +++ b/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx @@ -49,7 +49,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~XSDValidationPropertyHandler(); + virtual ~XSDValidationPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/resource/oooresourceloader.cxx b/extensions/source/resource/oooresourceloader.cxx index df3c6c22edd3..e8880ffeaa3f 100644 --- a/extensions/source/resource/oooresourceloader.cxx +++ b/extensions/source/resource/oooresourceloader.cxx @@ -95,7 +95,7 @@ namespace extensions { namespace resource ); protected: - virtual ~OpenOfficeResourceBundle(); + virtual ~OpenOfficeResourceBundle() override; public: // XResourceBundle diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 41917afe421b..c0687e369104 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -120,7 +120,7 @@ class GridWindow : public vcl::Window public: explicit GridWindow(vcl::Window* pParent); void Init(double* pXValues, double* pYValues, int nValues, bool bCutValues, const BitmapEx &rMarkerBitmap); - virtual ~GridWindow(); + virtual ~GridWindow() override; virtual void dispose() override; void setBoundings( double fMinX, double fMinY, double fMaxX, double fMaxY ); diff --git a/extensions/source/scanner/grid.hxx b/extensions/source/scanner/grid.hxx index 1167a84c27db..146e06b98344 100644 --- a/extensions/source/scanner/grid.hxx +++ b/extensions/source/scanner/grid.hxx @@ -49,7 +49,7 @@ class GridDialog : public ModalDialog public: GridDialog(double* pXValues, double* pYValues, int nValues, vcl::Window* pParent); - virtual ~GridDialog(); + virtual ~GridDialog() override; virtual void dispose() override; void setBoundings(double fMinX, double fMinY, double fMaxX, double fMaxY); double* getNewYValues(); diff --git a/extensions/source/scanner/sane.hxx b/extensions/source/scanner/sane.hxx index 1257cf32824c..327410e7d9c7 100644 --- a/extensions/source/scanner/sane.hxx +++ b/extensions/source/scanner/sane.hxx @@ -34,7 +34,7 @@ class BitmapTransporter: public cppu::WeakImplHelper<css::awt::XBitmap> public: BitmapTransporter(); - virtual ~BitmapTransporter(); + virtual ~BitmapTransporter() override; virtual css::awt::Size SAL_CALL getSize() throw(std::exception) override; virtual Sequence< sal_Int8 > SAL_CALL getDIB() throw(std::exception) override; diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index e2b8c68586ff..1f9bd5d27c65 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -92,7 +92,7 @@ public: { } - virtual ~ScanPreview() + virtual ~ScanPreview() override { disposeOnce(); } diff --git a/extensions/source/scanner/sanedlg.hxx b/extensions/source/scanner/sanedlg.hxx index bbd46e990243..7044b5f13e21 100644 --- a/extensions/source/scanner/sanedlg.hxx +++ b/extensions/source/scanner/sanedlg.hxx @@ -104,7 +104,7 @@ private: bool SetAdjustedNumericalValue( const char* pOption, double fValue, int nElement = 0 ); public: SaneDlg( vcl::Window*, Sane&, bool ); - virtual ~SaneDlg(); + virtual ~SaneDlg() override; virtual void dispose() override; virtual short Execute() override; diff --git a/extensions/source/scanner/scanner.hxx b/extensions/source/scanner/scanner.hxx index 8b777b6c9f94..c854f3fab958 100644 --- a/extensions/source/scanner/scanner.hxx +++ b/extensions/source/scanner/scanner.hxx @@ -52,7 +52,7 @@ protected: public: ScannerManager(); - virtual ~ScannerManager(); + virtual ~ScannerManager() override; // XScannerManager virtual Sequence< ScannerContext > SAL_CALL getAvailableScanners() throw(std::exception) override; diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx index a57f52961673..bca0c194a35f 100644 --- a/extensions/source/scanner/scanunx.cxx +++ b/extensions/source/scanner/scanunx.cxx @@ -135,7 +135,7 @@ public: ScannerThread( const std::shared_ptr<SaneHolder>& pHolder, const Reference< css::lang::XEventListener >& listener, ScannerManager* pManager ); - virtual ~ScannerThread(); + virtual ~ScannerThread() override; }; diff --git a/extensions/source/update/check/actionlistener.hxx b/extensions/source/update/check/actionlistener.hxx index 25deba207292..33304b711118 100644 --- a/extensions/source/update/check/actionlistener.hxx +++ b/extensions/source/update/check/actionlistener.hxx @@ -35,7 +35,7 @@ class IActionListener : public virtual salhelper::SimpleReferenceObject virtual void closeAfterFailure() = 0; protected: - virtual ~IActionListener() {} + virtual ~IActionListener() override {} }; #endif // INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_ACTIONLISTENER_HXX diff --git a/extensions/source/update/check/download.hxx b/extensions/source/update/check/download.hxx index 4096308c0a74..9ecce2e55119 100644 --- a/extensions/source/update/check/download.hxx +++ b/extensions/source/update/check/download.hxx @@ -48,7 +48,7 @@ struct DownloadInteractionHandler : public virtual salhelper::SimpleReferenceObj virtual void downloadFinished(const OUString& rFileName) = 0; protected: - virtual ~DownloadInteractionHandler() {} + virtual ~DownloadInteractionHandler() override {} }; diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 25a84c978ae2..7bee406f8b2d 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -234,7 +234,7 @@ public: virtual void cancel() override; protected: - virtual ~UpdateCheckThread(); + virtual ~UpdateCheckThread() override; virtual void SAL_CALL run() override; virtual void SAL_CALL onTerminated() override; @@ -319,7 +319,7 @@ public: virtual void SAL_CALL onTerminated() override; protected: - virtual ~DownloadThread(); + virtual ~DownloadThread() override; private: osl::Condition& m_aCondition; @@ -338,7 +338,7 @@ public: virtual void SAL_CALL onTerminated() override; protected: - virtual ~ShutdownThread(); + virtual ~ShutdownThread() override; private: osl::Condition m_aCondition; diff --git a/extensions/source/update/check/updatecheck.hxx b/extensions/source/update/check/updatecheck.hxx index f2a344ac55f0..e7e9c4fed089 100644 --- a/extensions/source/update/check/updatecheck.hxx +++ b/extensions/source/update/check/updatecheck.hxx @@ -58,7 +58,7 @@ class UpdateCheck : { UpdateCheck(); - virtual ~UpdateCheck(); + virtual ~UpdateCheck() override; public: inline SAL_CALL operator rtl::Reference< UpdateCheckConfigListener > () diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx index 42b46cf4fdb4..9380bf6cada5 100644 --- a/extensions/source/update/check/updatecheckconfig.hxx +++ b/extensions/source/update/check/updatecheckconfig.hxx @@ -86,7 +86,7 @@ class UpdateCheckConfig : public ::cppu::WeakImplHelper< const css::uno::Reference< css::container::XNameContainer >& xIgnoredUpdates, const ::rtl::Reference< UpdateCheckConfigListener >& rListener ); - virtual ~UpdateCheckConfig(); + virtual ~UpdateCheckConfig() override; public: diff --git a/extensions/source/update/check/updatecheckconfiglistener.hxx b/extensions/source/update/check/updatecheckconfiglistener.hxx index b96355ae1cbe..277ca23e0643 100644 --- a/extensions/source/update/check/updatecheckconfiglistener.hxx +++ b/extensions/source/update/check/updatecheckconfiglistener.hxx @@ -33,7 +33,7 @@ struct UpdateCheckConfigListener : public virtual salhelper::SimpleReferenceObje virtual void autoCheckIntervalChanged() = 0; protected: - virtual ~UpdateCheckConfigListener() {} + virtual ~UpdateCheckConfigListener() override {} }; #endif diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx index 5d48471f0869..4abdb50ddd3a 100644 --- a/extensions/source/update/check/updatecheckjob.cxx +++ b/extensions/source/update/check/updatecheckjob.cxx @@ -65,7 +65,7 @@ private: class UpdateCheckJob : public ::cppu::WeakImplHelper< task::XJob, lang::XServiceInfo, frame::XTerminateListener > { - virtual ~UpdateCheckJob(); + virtual ~UpdateCheckJob() override; public: diff --git a/extensions/source/update/check/updatehdl.hxx b/extensions/source/update/check/updatehdl.hxx index f509c73bbbc3..da93b1f9dc44 100644 --- a/extensions/source/update/check/updatehdl.hxx +++ b/extensions/source/update/check/updatehdl.hxx @@ -155,7 +155,7 @@ private: public: UpdateHandler( const css::uno::Reference< css::uno::XComponentContext > & rxContext, const rtl::Reference< IActionListener > & rxActionListener ); - virtual ~UpdateHandler(); + virtual ~UpdateHandler() override; UpdateHandler(const UpdateHandler&) = delete; UpdateHandler& operator=(const UpdateHandler&) = delete; diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index 155b0ff862df..d0e779be0c5f 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -187,7 +187,7 @@ public: protected: - virtual ~UpdateInformationProvider(); + virtual ~UpdateInformationProvider() override; static OUString getConfigurationItem(uno::Reference<lang::XMultiServiceFactory> const & configurationProvider, OUString const & node, OUString const & item); static uno::Any getConfigurationItemAny(uno::Reference<lang::XMultiServiceFactory> const & configurationProvider, OUString const & node, OUString const & item); @@ -233,7 +233,7 @@ public: { }; - virtual ~UpdateInformationEnumeration() {}; + virtual ~UpdateInformationEnumeration() override {}; // XEnumeration sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) override { return m_nCount < m_nNodes; }; @@ -292,7 +292,7 @@ class SingleUpdateInformationEnumeration : public ::cppu::WeakImplHelper< contai public: explicit SingleUpdateInformationEnumeration(const uno::Reference< xml::dom::XElement >& xElement) : m_nCount(0) { m_aEntry.UpdateDocument = xElement; }; - virtual ~SingleUpdateInformationEnumeration() {}; + virtual ~SingleUpdateInformationEnumeration() override {}; // XEnumeration sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) override { return 0 == m_nCount; }; diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 8bbc834d83b1..7fb23d197b44 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -103,7 +103,7 @@ private: public: BubbleWindow( vcl::Window* pParent, const OUString& rTitle, const OUString& rText, const Image& rImage ); - virtual ~BubbleWindow(); + virtual ~BubbleWindow() override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override; @@ -155,7 +155,7 @@ private: public: explicit UpdateCheckUI(const uno::Reference<uno::XComponentContext>&); - virtual ~UpdateCheckUI(); + virtual ~UpdateCheckUI() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() |