diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-05-29 09:58:17 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-31 09:57:22 +0000 |
commit | 878b09a1a936c2d5bf4461e0123fafd377d948e2 (patch) | |
tree | 969b53358e0d77a49f94e29de3b79e79588764d5 | |
parent | cd582f922bf7bf350669c5d7cec379fe6bb7c886 (diff) |
fdo#64926 use icu's breakiterator for Tibetan and Dzongkha
Change-Id: I78010e216eb1582fa5074666f36c95f5b0eceee5
Reviewed-on: https://gerrit.libreoffice.org/4082
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | i18npool/source/breakiterator/breakiterator_unicode.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx b/i18npool/source/breakiterator/breakiterator_unicode.cxx index 620bba10c5a8..549abd1c1289 100644 --- a/i18npool/source/breakiterator/breakiterator_unicode.cxx +++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx @@ -120,7 +120,8 @@ void SAL_CALL BreakIterator_Unicode::loadICUBreakIterator(const com::sun::star:: rbi = new OOoRuleBasedBreakIterator(udata_open("OpenOffice", "brk", OUStringToOString(breakRules[breakType], RTL_TEXTENCODING_ASCII_US).getStr(), &status), status); } - else if (rLocale.Language != "th" && rLocale.Language != "km") //use icu's breakiterator for Thai and Khmer + //use icu's breakiterator for Thai, Khmer, Tibetan and Dzongkha + else if (rLocale.Language != "th" && rLocale.Language != "km" && rLocale.Language != "bo" && rLocale.Language != "dz") { status = U_ZERO_ERROR; OStringBuffer aUDName(64); |