summaryrefslogtreecommitdiffstats
path: root/i18npool/source/collator
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:00 +0200
commit91957a75aab89415d92aa137d73fc5cf892a0408 (patch)
treef70e30816dc893357985ff9902b46e45acd7744e /i18npool/source/collator
parentloplugin:cstylecast: deal with those that are (technically) const_cast (diff)
downloadcore-91957a75aab89415d92aa137d73fc5cf892a0408.tar.gz
core-91957a75aab89415d92aa137d73fc5cf892a0408.zip
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I5bad1428e96c76f7d295f69e10beea4397d560ff
Diffstat (limited to 'i18npool/source/collator')
-rw-r--r--i18npool/source/collator/gencoll_rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/collator/gencoll_rule.cxx b/i18npool/source/collator/gencoll_rule.cxx
index 201170a2e80c..b4f0ad2671fd 100644
--- a/i18npool/source/collator/gencoll_rule.cxx
+++ b/i18npool/source/collator/gencoll_rule.cxx
@@ -97,7 +97,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
continue;
// input file is in UTF-8 encoding
- OUString Ostr = OUString((const sal_Char *)str, len, RTL_TEXTENCODING_UTF8).trim();
+ OUString Ostr = OUString(str, len, RTL_TEXTENCODING_UTF8).trim();
len = Ostr.getLength();
if (len == 0)