summaryrefslogtreecommitdiff
path: root/shell/source/win32/SysShExec.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/win32/SysShExec.cxx')
-rw-r--r--shell/source/win32/SysShExec.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx
index efeb6cc7147f..e152495d5907 100644
--- a/shell/source/win32/SysShExec.cxx
+++ b/shell/source/win32/SysShExec.cxx
@@ -265,13 +265,13 @@ void SAL_CALL CSysShExec::execute( const OUString& aCommand, const OUString& aPa
// parameter checking
if (0 == aCommand.getLength())
throw IllegalArgumentException(
- OUString("Empty command"),
+ "Empty command",
static_cast< XSystemShellExecute* >( this ),
1 );
if ((nFlags & ~(NO_SYSTEM_ERROR_MESSAGE | URIS_ONLY)) != 0)
throw IllegalArgumentException(
- OUString("Invalid Flags specified"),
+ "Invalid Flags specified",
static_cast< XSystemShellExecute* >( this ),
3 );
@@ -282,10 +282,9 @@ void SAL_CALL CSysShExec::execute( const OUString& aCommand, const OUString& aPa
if (!(uri.is() && uri->isAbsolute()))
{
throw css::lang::IllegalArgumentException(
- (OUString(
- "XSystemShellExecute.execute URIS_ONLY with"
- " non-absolute URI reference ")
- + aCommand),
+ OUString("XSystemShellExecute.execute URIS_ONLY with"
+ " non-absolute URI reference ")
+ + aCommand,
static_cast< cppu::OWeakObject * >(this), 0);
}
}
@@ -336,7 +335,7 @@ void SAL_CALL CSysShExec::execute( const OUString& aCommand, const OUString& aPa
psxErr = MapError(psxErr);
throw SystemShellExecuteException(
- OUString("Error executing command"),
+ "Error executing command",
static_cast< XSystemShellExecute* >(this),
psxErr);
}