summaryrefslogtreecommitdiff
path: root/i18npool/source/indexentry
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/indexentry
parent34c2adbdfb32927468778e786437eecf8ece8249 (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I5bad1428e96c76f7d295f69e10beea4397d560ff
Diffstat (limited to 'i18npool/source/indexentry')
-rw-r--r--i18npool/source/indexentry/genindex_data.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/indexentry/genindex_data.cxx b/i18npool/source/indexentry/genindex_data.cxx
index 990b24b31399..a4721d8c907c 100644
--- a/i18npool/source/indexentry/genindex_data.cxx
+++ b/i18npool/source/indexentry/genindex_data.cxx
@@ -60,7 +60,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);
+ OUString Ostr = OUString(str, len, RTL_TEXTENCODING_UTF8);
len = Ostr.getLength();
if (len == 0)
continue; // skip empty line.