--- collator_unicode.cxx.orig 2006-04-19 21:33:24.000000000 +0800 +++ collator_unicode.cxx 2006-04-19 21:33:48.000000000 +0800 @@ -108,7 +108,7 @@ } if (func) { const sal_uInt8* ruleImage=func(); - collator = new RuleBasedCollator(UnicodeString(reinterpret_cast(ruleImage)), status); + collator = new RuleBasedCollator(ruleImage), status); if (! U_SUCCESS(status)) throw RuntimeException(); }