[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Jul 26 13:26:23 UTC 2018
i18nlangtag/source/languagetag/languagetag.cxx | 6 ------
include/i18nlangtag/languagetag.hxx | 2 --
2 files changed, 8 deletions(-)
New commits:
commit e9cca2f5e66604ec9bf38fccc6949c7d68a6010c
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 26 11:34:38 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 26 15:25:56 2018 +0200
i18nlangtag: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)
...by removing explicitly user-provided functions that do the same as their
implicitly-defined counterparts, but may prevent implicitly declared copy
functions from being defined as non-deleted in the future. (Even if a dtor was
declared non-inline in an include file, the apparently-used implicitly-defined
copy functions are already inline, so why bother with a non-inline dtor.)
Change-Id: I6de6b84ebd177f494864d7de91e538fa5a64985c
Reviewed-on: https://gerrit.libreoffice.org/58058
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index d46ff8bba324..fd3f1156c744 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -559,12 +559,6 @@ LanguageTag::LanguageTag( const rtl_Locale & rLocale )
convertFromRtlLocale();
}
-
-LanguageTag::~LanguageTag()
-{
-}
-
-
LanguageTag::ImplPtr LanguageTagImpl::registerOnTheFly( LanguageType nRegisterID )
{
LanguageTag::ImplPtr pImpl;
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx
index 1bab1806e959..9f3dc877d9de 100644
--- a/include/i18nlangtag/languagetag.hxx
+++ b/include/i18nlangtag/languagetag.hxx
@@ -107,8 +107,6 @@ public:
*/
explicit LanguageTag( const rtl_Locale & rLocale );
- ~LanguageTag();
-
/** Obtain BCP 47 language tag.
@param bResolveSystem
More information about the Libreoffice-commits
mailing list