diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 13:23:06 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 13:23:06 +0000 |
commit | dfbebe1136a9ad17b2db0f65907db1635ed353a5 (patch) | |
tree | 84e0f75bcffe555598c1c216605ab748a00eb190 | |
parent | 4b82c908b454af3ed9fb6fff9b8d07e5c1b9ecb5 (diff) |
INTEGRATION: CWS sb59 (1.12.22); FILE MERGED
2006/08/11 15:04:24 sb 1.12.22.1: #i67487# Made code warning-free (wntmsci10).
-rw-r--r-- | basic/source/app/makefile.mk | 7 | ||||
-rw-r--r-- | basic/source/app/process.cxx | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/basic/source/app/makefile.mk b/basic/source/app/makefile.mk index a099c82549..f810d40111 100644 --- a/basic/source/app/makefile.mk +++ b/basic/source/app/makefile.mk @@ -4,9 +4,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.12 $ +# $Revision: 1.13 $ # -# last change: $Author: hr $ $Date: 2006-06-19 17:36:05 $ +# last change: $Author: obo $ $Date: 2006-10-12 14:22:37 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -64,7 +64,8 @@ OBJFILES = \ $(OBJ)$/dialogs.obj \ EXCEPTIONSFILES = \ - $(OBJ)$/app.obj + $(OBJ)$/app.obj \ + $(OBJ)$/process.obj SRS1NAME=$(TARGET) SRC1FILES = \ diff --git a/basic/source/app/process.cxx b/basic/source/app/process.cxx index 28438378f1..184683555a 100644 --- a/basic/source/app/process.cxx +++ b/basic/source/app/process.cxx @@ -4,9 +4,9 @@ * * $RCSfile: process.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: obo $ $Date: 2006-09-17 09:57:38 $ + * last change: $Author: obo $ $Date: 2006-10-12 14:23:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -152,9 +152,7 @@ void Process::SetImage( const String &aAppPath, const String &aAppParams, const ::rtl::OUString *pEnvArray = NULL; if ( pEnv ) { - - nCount = pEnv->size(); - pEnvArray = new ::rtl::OUString[nCount]; + pEnvArray = new ::rtl::OUString[pEnv->size()]; xub_StrLen nEnvCount = 0; Environment::const_iterator aIter = pEnv->begin(); |