summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-30 15:28:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-30 15:28:28 +0200
commitcd252e3ad8ca1b2c5c21c4279784a0c2ff9521b6 (patch)
treeaece39529633e21d2bcb7a496d14ae030300b09f /opencl
parentbbecf9313404d0741ff1edd9fe85e653f0ed48a1 (diff)
loplugin:stringconstant: adapt to improved OUStringLiteral1 (opencl)
Change-Id: I0da7434b67148824d1c2343f8ecb2b069df6baa2
Diffstat (limited to 'opencl')
-rw-r--r--opencl/source/openclconfig.cxx2
1 files changed, 1 insertions, 1 deletions
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<sal_Unicode>(token.copy(p+1, 2).toInt32(16)));
+ result += OUStringLiteral1(token.copy(p+1, 2).toInt32(16));
i = p + 3;
}
else