[Open Office] writer crashed by using LANG=zh_CN.UTF-8 at start
time
Jan Holesovsky
kendy at suse.cz
Wed Apr 19 07:24:54 EDT 2006
Hi Jian,
On Tuesday 18 April 2006 21:39, Jian Hua Jiao wrote:
> 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();
Good catch! Could you please file it to IssueZilla against i18npool?
http://qa.openoffice.org/issue_handling/submission_gateway.html#code_module -
add me (kendy) there to Cc:, please. Just note that the #ifdef SYSTEM_ICU
part is ooo-build specific, so you should probably create a patch without
system-icu.diff applied not to confuse the up-stream maintainer ;-)
I'll add the patch to ooo-build when it's in IZ so that we can track it.
Thank you,
Jan
More information about the Openoffice
mailing list