diff options
author | Eike Rathke <erack@redhat.com> | 2013-02-19 00:45:07 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-02-19 00:45:26 +0100 |
commit | 555d88d003b8f0708fb5a1c1f3b3f7a8110dddf7 (patch) | |
tree | 0f980dfeb2c20e93f838bd504737282b8bfc8fed /i18npool/inc | |
parent | for now convert using MsLangId::convertUnxByteStringToLanguage() (diff) | |
download | core-555d88d003b8f0708fb5a1c1f3b3f7a8110dddf7.tar.gz core-555d88d003b8f0708fb5a1c1f3b3f7a8110dddf7.zip |
added reset(rtl_Locale)
Change-Id: I1bc83dd4e5286f7102513d8a4c7d5624952eb830
Diffstat (limited to 'i18npool/inc')
-rw-r--r-- | i18npool/inc/i18npool/languagetag.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/i18npool/inc/i18npool/languagetag.hxx b/i18npool/inc/i18npool/languagetag.hxx index 324fcd3da165..ff8266d2de79 100644 --- a/i18npool/inc/i18npool/languagetag.hxx +++ b/i18npool/inc/i18npool/languagetag.hxx @@ -205,6 +205,9 @@ public: /** Reset with LanguageType MS-LangID. */ void reset( LanguageType nLanguage ); + /** Reset with rtl_Locale. */ + void reset( const rtl_Locale & rLocale ); + /** Fall back to a known locale. @@ -275,6 +278,8 @@ private: void convertLangToLocale(); void convertLangToBcp47(); + void convertFromRtlLocale(); + bool canonicalize(); rtl::OUString getLanguageFromLangtag(); |