summaryrefslogtreecommitdiff
path: root/i18npool/source/collator/collator_unicode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/collator/collator_unicode.cxx')
-rw-r--r--i18npool/source/collator/collator_unicode.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx
index 39037cf2e77b..c05a9cb025c6 100644
--- a/i18npool/source/collator/collator_unicode.cxx
+++ b/i18npool/source/collator/collator_unicode.cxx
@@ -80,6 +80,7 @@ const sal_uInt8* get_collator_data_ln_charset();
const sal_uInt8* get_collator_data_my_dictionary();
const sal_uInt8* get_collator_data_ne_charset();
const sal_uInt8* get_collator_data_sid_charset();
+const sal_uInt8* get_collator_data_vro_alphanumeric();
const sal_uInt8* get_collator_data_zh_TW_charset();
const sal_uInt8* get_collator_data_zh_TW_radical();
const sal_uInt8* get_collator_data_zh_TW_stroke();
@@ -102,6 +103,7 @@ size_t get_collator_data_ln_charset_length();
size_t get_collator_data_my_dictionary_length();
size_t get_collator_data_ne_charset_length();
size_t get_collator_data_sid_charset_length();
+size_t get_collator_data_vro_alphanumeric_length();
size_t get_collator_data_zh_TW_charset_length();
size_t get_collator_data_zh_TW_radical_length();
size_t get_collator_data_zh_TW_stroke_length();
@@ -300,6 +302,14 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
funclen = get_collator_data_sid_charset_length;
}
#endif
+#if WITH_LOCALE_ALL || WITH_LOCALE_vro
+ } else if ( rLocale.Language == "vro" ) {
+ if ( rAlgorithm == "alphanumeric" )
+ {
+ func = get_collator_data_vro_alphanumeric;
+ funclen = get_collator_data_vro_alphanumeric_length;
+ }
+#endif
#if WITH_LOCALE_ALL || WITH_LOCALE_zh
} else if ( rLocale.Language == "zh" && (rLocale.Country == "TW" || rLocale.Country == "HK" || rLocale.Country == "MO") ) {
if ( rAlgorithm == "charset" )