summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/SysShExec.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx
index 73142d8a0fce..874c4f5e94cf 100644
--- a/shell/source/win32/SysShExec.cxx
+++ b/shell/source/win32/SysShExec.cxx
@@ -253,7 +253,7 @@ void SAL_CALL CSysShExec::execute( const OUString& aCommand, const OUString& aPa
if (PathResolve(path, nullptr, PRF_VERIFYEXISTS | PRF_REQUIREABSOLUTE) == 0)
{
throw css::lang::IllegalArgumentException(
- "XSystemShellExecute.execute, PathResolve(" + OUString(o3tl::toU(path))
+ OUStringLiteral("XSystemShellExecute.execute, PathResolve(") + o3tl::toU(path)
+ ") failed",
{}, 0);
}
@@ -266,7 +266,7 @@ void SAL_CALL CSysShExec::execute( const OUString& aCommand, const OUString& aPa
if (SHGetFileInfoW(path, 0, &info, sizeof info, SHGFI_ATTRIBUTES) == 0)
{
throw css::lang::IllegalArgumentException(
- "XSystemShellExecute.execute, SHGetFileInfoW(" + OUString(o3tl::toU(path)) + ") failed", {},
+ OUStringLiteral("XSystemShellExecute.execute, SHGetFileInfoW(") + o3tl::toU(path) + ") failed", {},
0);
}
if ((info.dwAttributes & SFGAO_LINK) == 0) {