diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-27 14:57:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-28 08:32:02 +0200 |
commit | a4dd8a2106215a2ece33d1b82e8725d68ae2630b (patch) | |
tree | 45975cc6496029857e9ac053060acc178ecd7474 /i18nlangtag | |
parent | fix name of method in vcl/Menu, SetHightlightItem to SetHighlightItem (diff) | |
download | core-a4dd8a2106215a2ece33d1b82e8725d68ae2630b.tar.gz core-a4dd8a2106215a2ece33d1b82e8725d68ae2630b.zip |
remove unused code from i18nlangtag/LanguageTag
Specifically:
LanguageTag::LanguageTag()
LanguageTag::getRegion() const
LanguageTag::reset(_rtl_Locale const&)
Change-Id: I8822db6e1df7cd912e9ae82cb9d9f51370d4c583
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/languagetag/languagetag.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index 721bb31c2c4a..6541c90fa45d 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -507,18 +507,6 @@ LanguageTag::LanguageTag( LanguageType nLanguage ) } -LanguageTag::LanguageTag() - : - mnLangID( LANGUAGE_DONTKNOW), - mbSystemLocale( false), - mbInitializedBcp47( false), - mbInitializedLocale( false), - mbInitializedLangID( true), - mbIsFallback( false) -{ -} - - LanguageTag::LanguageTag( const OUString& rBcp47, const OUString& rLanguage, const OUString& rScript, const OUString& rCountry ) : @@ -1067,14 +1055,6 @@ LanguageTag & LanguageTag::reset( LanguageType nLanguage ) } -LanguageTag & LanguageTag::reset( const rtl_Locale & rLocale ) -{ - reset( lang::Locale( rLocale.Language, rLocale.Country, rLocale.Variant)); - convertFromRtlLocale(); - return *this; -} - - bool LanguageTagImpl::canonicalize() { #ifdef erDEBUG @@ -1889,14 +1869,6 @@ OUString LanguageTagImpl::getRegion() const } -OUString LanguageTag::getRegion() const -{ - OUString aRet( getImpl()->getRegion()); - const_cast<LanguageTag*>(this)->syncFromImpl(); - return aRet; -} - - OUString LanguageTagImpl::getVariants() const { if (!mbCachedVariants) |