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 /cui/source/inc/autocdlg.hxx | |
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 'cui/source/inc/autocdlg.hxx')
-rw-r--r-- | cui/source/inc/autocdlg.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index 1914f68c253d..45cd694f6be6 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -53,7 +53,7 @@ class OfaAutoCorrDlg : public SfxTabDialog public: OfaAutoCorrDlg(vcl::Window* pParent, const SfxItemSet *pSet); - virtual ~OfaAutoCorrDlg(); + virtual ~OfaAutoCorrDlg() override; virtual void dispose() override; void EnableLanguage(bool bEnable); @@ -109,7 +109,7 @@ private: public: OfaAutocorrOptionsPage(vcl::Window* pParent, const SfxItemSet& rSet); - virtual ~OfaAutocorrOptionsPage(); + virtual ~OfaAutocorrOptionsPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -168,7 +168,7 @@ class OfaSwAutoFmtOptionsPage : public SfxTabPage OfaSwAutoFmtOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaSwAutoFmtOptionsPage(); + virtual ~OfaSwAutoFmtOptionsPage() override; virtual void dispose() override; public: @@ -198,7 +198,7 @@ public: { } - virtual ~AutoCorrEdit(); + virtual ~AutoCorrEdit() override; void SetActionHdl( const Link<AutoCorrEdit&,bool>& rLink ) { aActionLink = rLink;} @@ -275,7 +275,7 @@ private: public: OfaAutocorrReplacePage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaAutocorrReplacePage(); + virtual ~OfaAutocorrReplacePage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); @@ -334,7 +334,7 @@ private: LanguageType eNewLanguage); public: OfaAutocorrExceptPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaAutocorrExceptPage(); + virtual ~OfaAutocorrExceptPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -402,7 +402,7 @@ private: OfaQuoteTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); public: - virtual ~OfaQuoteTabPage(); + virtual ~OfaQuoteTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -428,7 +428,7 @@ public: , m_pPage(nullptr) { } - virtual ~AutoCompleteMultiListBox(); + virtual ~AutoCompleteMultiListBox() override; virtual void dispose() override; void SetPage(OfaAutoCompleteTabPage *pPage) { m_pPage = pPage; } virtual bool PreNotify( NotifyEvent& rNEvt ) override; @@ -456,7 +456,7 @@ private: OfaAutoCompleteTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); public: - virtual ~OfaAutoCompleteTabPage(); + virtual ~OfaAutoCompleteTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); @@ -521,7 +521,7 @@ private: public: /// construction via Create() OfaSmartTagOptionsTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaSmartTagOptionsTabPage(); + virtual ~OfaSmartTagOptionsTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); |