From 58ea9fa06cfa0154ecb82654fac7261b3a09bb7e Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 27 Sep 2005 11:55:36 +0000 Subject: INTEGRATION: CWS tbe23 (1.22.18); FILE MERGED 2005/05/18 15:00:12 tbe 1.22.18.1: #i49388# office crashes when executing BeanShell macro from command line --- scripting/source/protocolhandler/scripthandler.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripting/source/protocolhandler') diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index c4c99c55ad92..5505de26c057 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -4,9 +4,9 @@ * * $RCSfile: scripthandler.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: rt $ $Date: 2005-09-09 02:27:10 $ + * last change: $Author: hr $ $Date: 2005-09-27 12:55:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -216,7 +216,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification( lArgs[ index ].Name.getLength() == 0 ) { inArgs.realloc( ++argCount ); - inArgs[ index ] = lArgs[ index ].Value; + inArgs[ argCount - 1 ] = lArgs[ index ].Value; } } } -- cgit