From cd252e3ad8ca1b2c5c21c4279784a0c2ff9521b6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 30 Aug 2016 15:28:28 +0200 Subject: loplugin:stringconstant: adapt to improved OUStringLiteral1 (opencl) Change-Id: I0da7434b67148824d1c2343f8ecb2b069df6baa2 --- opencl/source/openclconfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opencl') diff --git a/opencl/source/openclconfig.cxx b/opencl/source/openclconfig.cxx index 79262be6b6cd..eaa0bba5e06c 100644 --- a/opencl/source/openclconfig.cxx +++ b/opencl/source/openclconfig.cxx @@ -79,7 +79,7 @@ OUString getToken(const OUString& string, sal_Int32& index) result += token.copy(i, p - i); if (p < token.getLength() - 2) { - result += OUString(static_cast(token.copy(p+1, 2).toInt32(16))); + result += OUStringLiteral1(token.copy(p+1, 2).toInt32(16)); i = p + 3; } else -- cgit