[PATCH] fdo#64926 use icu's breakiterator for Tibetan and Dzongkha

Andras Timar (via Code Review) gerrit at gerrit.libreoffice.org
Wed May 29 00:58:42 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4082

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/82/4082/1

fdo#64926 use icu's breakiterator for Tibetan and Dzongkha

Change-Id: I78010e216eb1582fa5074666f36c95f5b0eceee5
---
M i18npool/source/breakiterator/breakiterator_unicode.cxx
1 file changed, 2 insertions(+), 1 deletion(-)



diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx b/i18npool/source/breakiterator/breakiterator_unicode.cxx
index 620bba1..549abd1 100644
--- a/i18npool/source/breakiterator/breakiterator_unicode.cxx
+++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx
@@ -120,7 +120,8 @@
                 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);

-- 
To view, visit https://gerrit.libreoffice.org/4082
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I78010e216eb1582fa5074666f36c95f5b0eceee5
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Andras Timar <atimar at suse.com>



More information about the LibreOffice mailing list