diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-10-14 17:48:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-10-14 22:13:38 +0200 |
commit | cf0ed4fb4a610a61332a418f12b547648c3a0130 (patch) | |
tree | 8722973e4ae0f3ca82f6372f50e39863c23d62c1 /ucbhelper | |
parent | b6d0ca04581eae01817aac18d32a312bc9a2d514 (diff) |
More fixes of uses of now-explicit OUString ctor taking raw sal_Unicode pointer
...in Windows-only code, after c927aab29ebfff1ce3ac0b2f27ae343025a9890c "Make
the OUString ctors taking raw sal_Unicode pointer/non-const array explicit".
Interestingly, these occurrences were accepted by MSVC and only cause errors
with clang-cl, so happened to go unnoticed until now.
Change-Id: I33e7653e28a21541ef793b4b0750abb6037752db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104314
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/proxydecider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx index fa1befd4be0c..8bb610a64335 100644 --- a/ucbhelper/source/client/proxydecider.cxx +++ b/ucbhelper/source/client/proxydecider.cxx @@ -513,7 +513,7 @@ DWORD WINAPI GetPACProxyThread(_In_ LPVOID lpParameter) GlobalFree(ProxyInfo.lpszProxyBypass); if (ProxyInfo.lpszProxy) { - OUString sProxyResult = o3tl::toU(ProxyInfo.lpszProxy); + OUString sProxyResult(o3tl::toU(ProxyInfo.lpszProxy)); GlobalFree(ProxyInfo.lpszProxy); // Get the first of possibly multiple results sProxyResult = sProxyResult.getToken(0, ';'); |