diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-21 18:03:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-21 21:32:10 +0200 |
commit | 0587c88e23b4d3d1a0504cd4c6cf1d51fa9ff498 (patch) | |
tree | 4fe0c979d3885452f64d5e98526e37450c481939 /basic | |
parent | 826edb304b2c429be534d85fb8244be767ea67cf (diff) |
Fix uses of char16_t*/wchar_t* stream inserters
...that are helpfully deleted in C++20, as now implemented at least by VS 2019
16.6.4 when using --with-latest-c++
Change-Id: Iaf80f793e73fc90768bb146c9cf3d300d6747c8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99170
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/methods.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 106bfe806d0b..89ba081348c2 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -367,9 +367,10 @@ extern "C" void invalidParameterHandler( { SAL_INFO( "basic", - "invalid parameter during _wgetdcwd; \"" << (expression ? o3tl::toU(expression) : u"???") - << "\" (" << (function ? o3tl::toU(function) : u"???") << ") at " - << (file ? o3tl::toU(file) : u"???") << ":" << line); + "invalid parameter during _wgetdcwd; \"" + << (expression ? OUString(o3tl::toU(expression)) : OUString("???")) + << "\" (" << (function ? OUString(o3tl::toU(function)) : OUString("???")) << ") at " + << (file ? OUString(o3tl::toU(file)) : OUString("???")) << ":" << line); } } |