summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-06 18:31:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-06 18:31:07 +0200
commitf392d3b1233ee0ee74456595e6bd5fdb3853da19 (patch)
treeea964ad736d0cf2d0fab07cb979e9d89751f8bcf /svl
parent2ced777e0cdf8240cc8567467b2008c3ae8230e3 (diff)
Improved loplugin:redundantcast, static_cast on arithmetic types: svl
Change-Id: I9a99d243173eb2300a57d47097b2eef8c48bb76b
Diffstat (limited to 'svl')
-rw-r--r--svl/qa/unit/test_URIHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/qa/unit/test_URIHelper.cxx b/svl/qa/unit/test_URIHelper.cxx
index 70e6fcc69da4..dc57dcd51968 100644
--- a/svl/qa/unit/test_URIHelper.cxx
+++ b/svl/qa/unit/test_URIHelper.cxx
@@ -404,9 +404,9 @@ void Test::testFindFirstURLInText() {
buf.append(" != ");
buf.append(OUStringToOString(result, RTL_TEXTENCODING_UTF8));
buf.append(" (");
- buf.append(static_cast< sal_Int32 >(begin));
+ buf.append(begin);
buf.append(", ");
- buf.append(static_cast< sal_Int32 >(end));
+ buf.append(end);
buf.append(')');
msg = buf.makeStringAndClear();
}