[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag
Eike Rathke
erack at redhat.com
Fri Aug 30 11:24:02 PDT 2013
i18nlangtag/source/languagetag/languagetag.cxx | 21 ---------------------
include/i18nlangtag/languagetag.hxx | 8 --------
2 files changed, 29 deletions(-)
New commits:
commit 5f860df7fef263d3260e8074841fffcfdf4717fc
Author: Eike Rathke <erack at redhat.com>
Date: Fri Aug 30 18:26:14 2013 +0200
removed LanguageTag(OUString,OUString) ctor
Change-Id: I8450b7d76e8efac302a9d6005eb3ecc72ad195f4
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index 887a58e..b5c24ee 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -241,27 +241,6 @@ LanguageTag::LanguageTag( const OUString& rBcp47, const OUString& rLanguage,
}
-LanguageTag::LanguageTag( const OUString& rLanguage, const OUString& rCountry )
- :
- maLocale( rLanguage, rCountry, ""),
- mpImplLangtag( NULL),
- mnLangID( LANGUAGE_DONTKNOW),
- meIsValid( DECISION_DONTKNOW),
- meIsIsoLocale( DECISION_DONTKNOW),
- meIsIsoODF( DECISION_DONTKNOW),
- meIsLiblangtagNeeded( DECISION_DONTKNOW),
- mbSystemLocale( rLanguage.isEmpty()),
- mbInitializedBcp47( false),
- mbInitializedLocale( !mbSystemLocale),
- mbInitializedLangID( false),
- mbCachedLanguage( false),
- mbCachedScript( false),
- mbCachedCountry( false),
- mbIsFallback( false)
-{
-}
-
-
LanguageTag::LanguageTag( const rtl_Locale & rLocale )
:
maLocale( rLocale.Language, rLocale.Country, rLocale.Variant),
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx
index 3843493..403221f 100644
--- a/include/i18nlangtag/languagetag.hxx
+++ b/include/i18nlangtag/languagetag.hxx
@@ -79,14 +79,6 @@ public:
explicit LanguageTag( const OUString& rBcp47, const OUString& rLanguage,
const OUString& rScript, const OUString& rCountry );
- /** Init LanguageTag with language and country strings.
-
- This is a convenience ctor for places that so far use only language and
- country to replace the MsLangId::convert...IsoNames...() calls. Avoid
- use in new code.
- */
- explicit LanguageTag( const OUString& rLanguage, const OUString& rCountry );
-
/** Init LanguageTag with rtl_Locale.
This is a convenience ctor.
More information about the Libreoffice-commits
mailing list