diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-23 17:38:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-23 20:33:17 +0200 |
commit | 044eba71e34fd3ac5de20578cc62f85756ad07b4 (patch) | |
tree | ad3626d1e6cb3ff09ddc24014c26dddd4ab594b2 /shell | |
parent | 732bf455279d1db150c600bb1d2719ddde517480 (diff) |
loplugin:stringadd (clang-cl)
Change-Id: I324496ff7c61d87a83b6b378810aa5c78cd7dba3
Reviewed-on: https://gerrit.libreoffice.org/81405
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/spsupp/spsuppHelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<LPWSTR>(o3tl::toW(sCmdLine.getStr())); STARTUPINFOW si = {}; |