diff options
author | Oliver Braun <obr@openoffice.org> | 2001-06-26 14:09:51 +0000 |
---|---|---|
committer | Oliver Braun <obr@openoffice.org> | 2001-06-26 14:09:51 +0000 |
commit | 2f7ed881f8e2afc3d2dcf34f5722afc932e3c939 (patch) | |
tree | 4a0e90ad6bd02146259bcbb01f3044ad54e018bb /shell | |
parent | 683b3cde5b06b1b62c0793946cadee890f20e100 (diff) |
#88295# fix the last fix
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index e2f1cfb66bbf..cae3d4f2b00e 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shellexec.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obr $ $Date: 2001-06-26 15:07:29 $ + * last change: $Author: obr $ $Date: 2001-06-26 15:09:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -320,10 +320,11 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar { OString aTmp = OUStringToOString( aParameter, osl_getThreadTextEncoding() ); - OStringBuffer aBuffer( aCommandLine.getLength() + aTmp.getLength() + 3 ); + OStringBuffer aBuffer( aCommandLine.getLength() + aTmp.getLength() + 1 ); aBuffer.append( aCommandLine ); aBuffer.append( ' ' ); + aBuffer.append( aTmp ); aCommandLine = aBuffer.makeStringAndClear(); } |