summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2013-06-17 09:23:38 +0200
committerAndras Timar <atimar@suse.com>2013-06-17 10:45:21 +0200
commitfb4542f3427c0b37463c5fa6bb5602ce423510d9 (patch)
treec5d9714c1ddbd4e1454f3c4babaabbaf12097bf3 /i18npool
parent94b6882b80c91d2daf5e317e9d79d3d2a1c6572b (diff)
fdo#65809 Sidama (sit-ET) collation data
Change-Id: Icc68dcc44678f4151ff5d4a25dd8868218363341
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/CustomTarget_collator.mk1
-rw-r--r--i18npool/source/collator/collator_unicode.cxx4
2 files changed, 5 insertions, 0 deletions
diff --git a/i18npool/CustomTarget_collator.mk b/i18npool/CustomTarget_collator.mk
index 22b24ad46487..04527bb613d7 100644
--- a/i18npool/CustomTarget_collator.mk
+++ b/i18npool/CustomTarget_collator.mk
@@ -22,6 +22,7 @@ i18npool_COTXTS := \
ln_charset.txt \
my_dictionary.txt \
ne_charset.txt \
+ sid_charset.txt \
zh_charset.txt \
zh_pinyin.txt \
zh_radical.txt \
diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx
index 5771e71d8d33..45f63c77504c 100644
--- a/i18npool/source/collator/collator_unicode.cxx
+++ b/i18npool/source/collator/collator_unicode.cxx
@@ -74,6 +74,7 @@ const sal_uInt8* get_collator_data_ku_alphanumeric();
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_zh_TW_charset();
const sal_uInt8* get_collator_data_zh_TW_radical();
const sal_uInt8* get_collator_data_zh_TW_stroke();
@@ -184,6 +185,9 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
} else if ( rLocale.Language == "ne" ) {
if ( rAlgorithm == "charset" )
func = get_collator_data_ne_charset;
+ } else if ( rLocale.Language == "sid" ) {
+ if ( rAlgorithm == "charset" )
+ func = get_collator_data_sid_charset;
} else if ( rLocale.Language == "zh" && (rLocale.Country == "TW" || rLocale.Country == "HK" || rLocale.Country == "MO") ) {
if ( rAlgorithm == "charset" )
func = get_collator_data_zh_TW_charset;