summaryrefslogtreecommitdiffstats
path: root/include/i18nlangtag
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-07-09 19:58:48 +0200
committerEike Rathke <erack@redhat.com>2013-07-09 20:02:20 +0200
commit467cef426a84604263923d654213e14b4d29bbef (patch)
tree435d2905530eadf14687c5e40aa6dcd1474be83a /include/i18nlangtag
parentfdo#65589: Treat legacy types.rdb w/o /UCR key as empty (diff)
downloadcore-467cef426a84604263923d654213e14b4d29bbef.tar.gz
core-467cef426a84604263923d654213e14b4d29bbef.zip
let getLanguageType() resolve unknown due to present default script
Change-Id: I54170c7f2183ec2615aca875031148c85c939108
Diffstat (limited to 'include/i18nlangtag')
-rw-r--r--include/i18nlangtag/languagetag.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx
index 7fa9b966c5d7..8f23098c9ded 100644
--- a/include/i18nlangtag/languagetag.hxx
+++ b/include/i18nlangtag/languagetag.hxx
@@ -376,8 +376,15 @@ private:
void convertFromRtlLocale();
+ /** @return whether BCP 47 language tag string was changed. */
bool canonicalize();
+ /** Canonicalize if not yet done and synchronize initialized conversions.
+
+ @return whether BCP 47 language tag string was changed.
+ */
+ bool synCanonicalize();
+
OUString getLanguageFromLangtag();
OUString getScriptFromLangtag();
OUString getRegionFromLangtag();