[Open Office] writer crashed by using LANG=zh_CN.UTF-8 at start time

Jian Hua Jiao jjiao at novell.com
Tue Apr 18 15:39:02 EDT 2006


i18npool/source/collator/collator_unicode.cxx


@@ -116,7 +116,7 @@
 #ifdef SYSTEM_ICU
                     collator = new
RuleBasedCollator(UnicodeString(reinterpret_cast<const
char*>(ruleImage)), -1,
ucacollator, status);
 #else
-                    collator = new
RuleBasedCollator(UnicodeString(reinterpret_cast<const
char*>(ruleImage)),
status);
+                    collator = new RuleBasedCollator(ruleImage,
status);
 #endif
                     if (! U_SUCCESS(status))
                         throw RuntimeException();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff_i18npool_collator_unicode_system_icu
Type: application/octet-stream
Size: 659 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/openoffice/attachments/20060418/0abdfeb3/diff_i18npool_collator_unicode_system_icu.obj


More information about the Openoffice mailing list