From 044eba71e34fd3ac5de20578cc62f85756ad07b4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 23 Oct 2019 17:38:41 +0200 Subject: loplugin:stringadd (clang-cl) Change-Id: I324496ff7c61d87a83b6b378810aa5c78cd7dba3 Reviewed-on: https://gerrit.libreoffice.org/81405 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- shell/source/win32/spsupp/spsuppHelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/source/win32/spsupp/spsuppHelper.cxx b/shell/source/win32/spsupp/spsuppHelper.cxx index b60f9dc528da..3f6c9f787961 100644 --- a/shell/source/win32/spsupp/spsuppHelper.cxx +++ b/shell/source/win32/spsupp/spsuppHelper.cxx @@ -120,8 +120,8 @@ Answer AskIfUserWantsToEdit(const wchar_t* sFilePath) // Returns ERROR_SUCCESS or Win32 error code DWORD LOStart(const wchar_t* sModeArg, const wchar_t* sFilePath) { - OUString sCmdLine = "\"" + GetSofficeExe() + "\" " + OUString(o3tl::toU(sModeArg)) + " \"" - + OUString(o3tl::toU(sFilePath)) + "\""; + OUString sCmdLine = "\"" + GetSofficeExe() + "\" " + o3tl::toU(sModeArg) + " \"" + + o3tl::toU(sFilePath) + "\""; LPWSTR pCmdLine = const_cast(o3tl::toW(sCmdLine.getStr())); STARTUPINFOW si = {}; -- cgit