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 /lingucomponent | |
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 'lingucomponent')
5 files changed, 5 insertions, 5 deletions
diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx index 1f23dbbeef33..a8d680a91400 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx @@ -85,7 +85,7 @@ class Hyphenator : public: Hyphenator(); - virtual ~Hyphenator(); + virtual ~Hyphenator() override; // XSupportedLocales (for XHyphenator) virtual Sequence< Locale > SAL_CALL getLocales() throw(RuntimeException, std::exception) override; diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx index 90009237b292..37754a894c04 100644 --- a/lingucomponent/source/languageguessing/guesslang.cxx +++ b/lingucomponent/source/languageguessing/guesslang.cxx @@ -79,7 +79,7 @@ class LangGuess_Impl : SimpleGuesser m_aGuesser; bool m_bInitialized; - virtual ~LangGuess_Impl() {} + virtual ~LangGuess_Impl() override {} void EnsureInitialized(); public: diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.hxx b/lingucomponent/source/spellcheck/spell/sspellimp.hxx index 5abf0efe25d7..50f9578bf3d4 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.hxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.hxx @@ -79,7 +79,7 @@ class SpellChecker : public: SpellChecker(); - virtual ~SpellChecker(); + virtual ~SpellChecker() override; // XSupportedLocales (for XSpellChecker) virtual Sequence< Locale > SAL_CALL getLocales() throw(RuntimeException, std::exception) override; diff --git a/lingucomponent/source/thesaurus/libnth/nthesdta.hxx b/lingucomponent/source/thesaurus/libnth/nthesdta.hxx index bd506a8c40a8..b544754da273 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesdta.hxx +++ b/lingucomponent/source/thesaurus/libnth/nthesdta.hxx @@ -42,7 +42,7 @@ class Meaning : public: explicit Meaning(const OUString &rTerm); - virtual ~Meaning(); + virtual ~Meaning() override; // XMeaning virtual OUString SAL_CALL getMeaning() throw(css::uno::RuntimeException, std::exception) override; diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx index b39db99f7476..8073aa58f1dc 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx @@ -92,7 +92,7 @@ class Thesaurus : public: Thesaurus(); - virtual ~Thesaurus(); + virtual ~Thesaurus() override; // XSupportedLocales (for XThesaurus) virtual Sequence< Locale > SAL_CALL getLocales() throw(RuntimeException, std::exception) override; |