summaryrefslogtreecommitdiff
path: root/i18npool/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-02-19 00:45:07 +0100
committerEike Rathke <erack@redhat.com>2013-02-19 00:45:26 +0100
commit555d88d003b8f0708fb5a1c1f3b3f7a8110dddf7 (patch)
tree0f980dfeb2c20e93f838bd504737282b8bfc8fed /i18npool/inc
parent2c36a832b85eeff6b4a2f6c6aab599e4b10b8886 (diff)
added reset(rtl_Locale)
Change-Id: I1bc83dd4e5286f7102513d8a4c7d5624952eb830
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/i18npool/languagetag.hxx5
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();