summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-19 13:27:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-19 15:37:03 +0200
commit8169c047116c0a418886d01066a21a6eb18d6549 (patch)
tree66d481cfced5870ce4eed31f2f2b727bc276bb17 /opencl
parentac2c1fb821b45f2382a5104b4d98dc08061ae938 (diff)
Directly use OUStringBuffer::append overload taking a single sal_Unicode
Change-Id: Ibccde3ec84b0ea4e4af74122013229a1793f5ca5 Reviewed-on: https://gerrit.libreoffice.org/81128 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
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 ed122749bc3a..643d9fc2a8a1 100644
--- a/opencl/source/openclconfig.cxx
+++ b/opencl/source/openclconfig.cxx
@@ -83,7 +83,7 @@ OUString getToken(const OUString& string, sal_Int32& index)
result.append(std::u16string_view(token).substr(i, p - i));
if (p < token.getLength() - 2)
{
- result.append(OUStringChar(token.copy(p+1, 2).toInt32(16)));
+ result.append(sal_Unicode(token.copy(p+1, 2).toInt32(16)));
i = p + 3;
}
else