From 6d7394d345c25efdc6a02c86bcd8f8ffea8738ad Mon Sep 17 00:00:00 2001 From: Oliver Braun Date: Tue, 26 Jun 2001 15:13:28 +0000 Subject: #88295# set Image name --- shell/source/cmdmail/cmdmailsuppl.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx index 63b690bd31a5..a07463b84217 100755 --- a/shell/source/cmdmail/cmdmailsuppl.cxx +++ b/shell/source/cmdmail/cmdmailsuppl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cmdmailsuppl.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: obr $ $Date: 2001-06-26 08:49:11 $ + * last change: $Author: obr $ $Date: 2001-06-26 16:13:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -349,9 +349,8 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM } // xFormatStringAccess.is() && xDelimiterAccess.is() && xMessageAccess() // split up parameters - Sequence< OUString > aArgumentList( 2 ); - aArgumentList[0] = aProgram; - sal_Int32 nArguments = 2; + Sequence< OUString > aArgumentList( 1 ); + sal_Int32 nArguments = 1; sal_Bool bInQuote = sal_False; sal_Int32 nLastIndex = 0; @@ -386,7 +385,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM oslProcess aProcess; rtl_uString **pArgumentArray = (rtl_uString **) aArgumentList.getArray(); - osl_executeProcess( NULL, + osl_executeProcess( aProgram.pData, pArgumentArray, nArguments, osl_Process_DETACHED | osl_Process_SEARCHPATH, -- cgit v1.2.3