From f392d3b1233ee0ee74456595e6bd5fdb3853da19 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 6 Apr 2017 18:31:07 +0200 Subject: Improved loplugin:redundantcast, static_cast on arithmetic types: svl Change-Id: I9a99d243173eb2300a57d47097b2eef8c48bb76b --- svl/qa/unit/test_URIHelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svl') 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(); } -- cgit