diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-04-10 09:02:05 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-04-10 09:02:05 +0000 |
commit | e59266c47f2a119edb654214d1db024d7847b508 (patch) | |
tree | 968e726955a84f7024c34abc2d9097932ada6c4a /i18npool/source/collator/collator_unicode.cxx | |
parent | 72be39abdbfdd3c5bdbe7138af8f94bc2b0d0612 (diff) |
#100000# WNT: sal_uInt8* is not const char* ?
Diffstat (limited to 'i18npool/source/collator/collator_unicode.cxx')
-rw-r--r-- | i18npool/source/collator/collator_unicode.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx index d7969c654a7a..52929a9f86d8 100644 --- a/i18npool/source/collator/collator_unicode.cxx +++ b/i18npool/source/collator/collator_unicode.cxx @@ -4,9 +4,9 @@ * * $RCSfile: collator_unicode.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: kz $ $Date: 2006-01-31 18:35:58 $ + * last change: $Author: vg $ $Date: 2006-04-10 10:02:05 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -108,7 +108,7 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang:: } if (func) { const sal_uInt8* ruleImage=func(); - collator = new RuleBasedCollator(ruleImage, status); + collator = new RuleBasedCollator(UnicodeString(reinterpret_cast<const char*>(ruleImage)), status); if (! U_SUCCESS(status)) throw RuntimeException(); } |