summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-08-23 20:11:15 +0200
committerEike Rathke <erack@redhat.com>2013-08-23 23:09:08 +0200
commit54e3af6ab108774bc0065be92798137e403ea25c (patch)
treecb82bf5fbc38a71479fd86d66b982488289a8c3c /include
parentf3e124f4bd759095d977a9639d226ed582ed76d7 (diff)
passed rLocale remains unchanged if no mapping found
Change-Id: I4d1494dc5cba7a92fb067191477c3cbba46b056d
Diffstat (limited to 'include')
-rw-r--r--include/i18nlangtag/mslangid.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/i18nlangtag/mslangid.hxx b/include/i18nlangtag/mslangid.hxx
index f33b1259ffa3..37bc72898e15 100644
--- a/include/i18nlangtag/mslangid.hxx
+++ b/include/i18nlangtag/mslangid.hxx
@@ -242,7 +242,12 @@ public:
I18NLANGTAG_DLLPRIVATE static ::com::sun::star::lang::Locale convertLanguageToLocale(
LanguageType nLang, bool bResolveSystem );
- /** Used by convertLanguageToLocale(LanguageType,bool) */
+ /** Used by convertLanguageToLocale(LanguageType,bool)
+
+ @return rLocale set to mapped values, unchanged if no mapping was
+ found. E.g. pass empty Locale to obtain empty SYSTEM locale
+ for that case.
+ */
I18NLANGTAG_DLLPRIVATE static void convertLanguageToLocaleImpl(
LanguageType nLang, ::com::sun::star::lang::Locale & rLocale );