diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-26 08:08:39 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-26 08:08:39 +0000 |
commit | 1c79a2bf1e89ac4eb409922ab7eb8ad3cacc688a (patch) | |
tree | c52e84622f62150c5710c32e77d6e1b405ee2ca2 /i18npool/source/breakiterator/gendict.cxx | |
parent | 517bbaddbaf81a5a6bb00979944cad13a1575d50 (diff) |
INTEGRATION: CWS i18n31 (1.8.60); FILE MERGED
2007/06/27 04:33:11 khong 1.8.60.1: i75631 i75632 i75633 i75412 handle surrogate pair characters
Diffstat (limited to 'i18npool/source/breakiterator/gendict.cxx')
-rw-r--r-- | i18npool/source/breakiterator/gendict.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/i18npool/source/breakiterator/gendict.cxx b/i18npool/source/breakiterator/gendict.cxx index 476809b8692b..53c106181df0 100644 --- a/i18npool/source/breakiterator/gendict.cxx +++ b/i18npool/source/breakiterator/gendict.cxx @@ -4,9 +4,9 @@ * * $RCSfile: gendict.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: obo $ $Date: 2006-09-17 09:14:30 $ + * last change: $Author: rt $ $Date: 2007-07-26 09:08:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -94,7 +94,9 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) sal_Int32 len = Ostr.getLength(); - if (len == 1) continue; // skip one character word + i=0; + Ostr.iterateCodePoints(&i, 1); + if (len == i) continue; // skip one character word if (*u != current) { if (*u < current) |