summaryrefslogtreecommitdiff
path: root/include/i18nlangtag/languagetagicu.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/i18nlangtag/languagetagicu.hxx')
-rw-r--r--include/i18nlangtag/languagetagicu.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/i18nlangtag/languagetagicu.hxx b/include/i18nlangtag/languagetagicu.hxx
index 2d0aabdd34ea..e2c9f7ce2b0e 100644
--- a/include/i18nlangtag/languagetagicu.hxx
+++ b/include/i18nlangtag/languagetagicu.hxx
@@ -41,13 +41,12 @@ public:
/** Obtain language tag as ICU icu::Locale, adding variant data.
From the LanguageTag only language and country are used to construct
- the icu:Locale, the variant field is copied from rVariant. For example
- needed to create an icu::Collator instance where the variant field
- denotes the algorithm to be used.
+ the icu:Locale, the variant field is copied from rVariant.
+ The 4th arg of icu::Locale "keywords" (eg: for collation)
Always resolves an empty tag to the system locale.
*/
- static icu::Locale getIcuLocale( const LanguageTag & rLanguageTag, const OUString & rVariant );
+ static icu::Locale getIcuLocale( const LanguageTag & rLanguageTag, const OUString & rVariant, const OUString & rKeywords);
};
#endif // INCLUDED_I18NLANGTAG_LANGUAGETAGICU_HXX