summaryrefslogtreecommitdiff
path: root/include/i18nlangtag
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-27 14:57:24 +0200
committerNoel Grandin <noel@peralex.com>2014-02-28 08:32:02 +0200
commita4dd8a2106215a2ece33d1b82e8725d68ae2630b (patch)
tree45975cc6496029857e9ac053060acc178ecd7474 /include/i18nlangtag
parent3543d2d20b9b4c2de69f4352b695bcf6e49e5fb9 (diff)
remove unused code from i18nlangtag/LanguageTag
Specifically: LanguageTag::LanguageTag() LanguageTag::getRegion() const LanguageTag::reset(_rtl_Locale const&) Change-Id: I8822db6e1df7cd912e9ae82cb9d9f51370d4c583
Diffstat (limited to 'include/i18nlangtag')
-rw-r--r--include/i18nlangtag/languagetag.hxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx
index d646127de8c6..dcb95c61d911 100644
--- a/include/i18nlangtag/languagetag.hxx
+++ b/include/i18nlangtag/languagetag.hxx
@@ -76,12 +76,6 @@ public:
/** Init LanguageTag with LanguageType MS-LangID. */
explicit LanguageTag( LanguageType nLanguage );
- /** Default ctor, init LanguageTag with LanguageType LANGUAGE_DONTKNOW.
-
- To be able to use LanguageTag in maps etc., avoid otherwise.
- */
- explicit LanguageTag();
-
/** Init LanguageTag with either BCP 47 language tag (precedence if not
empty), or a combination of language, script and country.
@@ -181,13 +175,6 @@ public:
*/
OUString getCountry() const;
- /** Get BCP 47 region tag, which may be an ISO 3166 country alpha code or
- any other BCP 47 region tag.
-
- Always resolves an empty tag to the system locale.
- */
- OUString getRegion() const;
-
/** Get BCP 47 variant subtags, of the IANA Language Subtag Registry.
If there are multiple variant subtags they are separated by '-'.
@@ -258,9 +245,6 @@ public:
/** Reset with LanguageType MS-LangID. */
LanguageTag & reset( LanguageType nLanguage );
- /** Reset with rtl_Locale. */
- LanguageTag & reset( const rtl_Locale & rLocale );
-
/** Fall back to a known locale.