From 2d71e8837d29da6944133f87e9a46e1100c5f3f2 Mon Sep 17 00:00:00 2001 From: Tino Rachui Date: Mon, 7 May 2001 13:43:08 +0000 Subject: *** empty log message *** --- shell/source/win32/SysShExec.cxx | 8 ++++---- shell/source/win32/makefile.mk | 7 ++++--- shell/source/win32/syssh.xml | 4 +++- 3 files changed, 11 insertions(+), 8 deletions(-) (limited to 'shell') diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx index 78c98279b0cd..60b46ae4f083 100644 --- a/shell/source/win32/SysShExec.cxx +++ b/shell/source/win32/SysShExec.cxx @@ -2,9 +2,9 @@ * * $RCSfile: SysShExec.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: tra $ $Date: 2001-04-27 13:54:12 $ + * last change: $Author: tra $ $Date: 2001-05-07 14:43:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -242,7 +242,7 @@ void SAL_CALL CSysShExec::execute( const OUString& aCommand, const OUString& aPa static_cast< XSystemShellExecute* >( this ), 1 ); - if ( !( nFlags >= SSEF_DEFAULTS && nFlags <= SSEF_NO_SYSTEM_ERROR_MESSAGE ) ) + if ( !( nFlags >= DEFAULTS && nFlags <= NO_SYSTEM_ERROR_MESSAGE ) ) throw IllegalArgumentException( OUString::createFromAscii( "Invalid Flags specified" ), static_cast< XSystemShellExecute* >( this ), @@ -256,7 +256,7 @@ void SAL_CALL CSysShExec::execute( const OUString& aCommand, const OUString& aPa sei.lpParameters = aParameter.getStr(); sei.nShow = SW_SHOWNORMAL; - if ( SSEF_NO_SYSTEM_ERROR_MESSAGE & nFlags ) + if ( NO_SYSTEM_ERROR_MESSAGE & nFlags ) sei.fMask = SEE_MASK_FLAG_NO_UI; SetLastError( 0 ); diff --git a/shell/source/win32/makefile.mk b/shell/source/win32/makefile.mk index 2862dbc3d8af..5bb1c3c40802 100644 --- a/shell/source/win32/makefile.mk +++ b/shell/source/win32/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.1 $ +# $Revision: 1.2 $ # -# last change: $Author: tra $ $Date: 2001-04-27 13:54:19 $ +# last change: $Author: tra $ $Date: 2001-05-07 14:43:08 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -74,7 +74,7 @@ COMPRDB=$(SOLARBINDIR)$/applicat.rdb # --- Files -------------------------------------------------------- -.INCLUDE : ..$/cppumaker.mk +#.INCLUDE : ..$/cppumaker.mk SLOFILES=$(SLO)$/SysShentry.obj\ $(SLO)$/SysShExec.obj @@ -101,3 +101,4 @@ DEF1EXPORTFILE= exports.dxp # --- Targets ------------------------------------------------------ .INCLUDE : target.mk + diff --git a/shell/source/win32/syssh.xml b/shell/source/win32/syssh.xml index b4f44fadfc8d..d2355f211545 100644 --- a/shell/source/win32/syssh.xml +++ b/shell/source/win32/syssh.xml @@ -1,7 +1,7 @@ - syssh + syssh Tino Rachui com.sun.star.comp.system.SystemShellExecute @@ -14,6 +14,8 @@ com.sun.star.system.SystemShellExecute ... com.sun.star.system.XSystemShellExecute + com.sun.star.system.SystemShellExecuteException + com.sun.star.system.SystemShellExecuteFlags com.sun.star.lang.XMultiServiceFactory com.sun.star.lang.XSingleServiceFactory com.sun.star.lang.XServiceInfo -- cgit