summaryrefslogtreecommitdiffstats
path: root/sal/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-06-29 15:53:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-06-29 21:06:06 +0200
commit2871d455ca0fefca64aaad0906a8e7739dbc88bb (patch)
tree34d24b1df1d43f8fef2ca91d90f2f1aeed6e9c9e /sal/qa
parentUpdated core (diff)
downloadcore-2871d455ca0fefca64aaad0906a8e7739dbc88bb.tar.gz
core-2871d455ca0fefca64aaad0906a8e7739dbc88bb.zip
Improved loplugin:redundantcast (const-qualified typedefs): sal
Change-Id: I64b6ffd3e43f14c5884bf6cf1c12ff3b147db6bd Reviewed-on: https://gerrit.libreoffice.org/56699 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/rtl/textenc/rtl_textcvt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl/textenc/rtl_textcvt.cxx b/sal/qa/rtl/textenc/rtl_textcvt.cxx
index 4bfdc41742e8..2fed8e82ecb1 100644
--- a/sal/qa/rtl/textenc/rtl_textcvt.cxx
+++ b/sal/qa/rtl/textenc/rtl_textcvt.cxx
@@ -89,7 +89,7 @@ void testSingleByteCharSet(SingleByteCharSet const & rSet) {
", rSet.m_aMap[" + OUString::number(i) + "] == " +
OUString::number(rSet.m_aMap[i], 16)),
RTL_TEXTENCODING_UTF8).getStr(),
- static_cast<sal_Unicode>(rSet.m_aMap[i]), aUnicode[j]);
+ rSet.m_aMap[i], aUnicode[j]);
}
if (rSet.m_aMap[i] != 0xFFFF)
j++;