diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-09-27 11:55:36 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-09-27 11:55:36 +0000 |
commit | 58ea9fa06cfa0154ecb82654fac7261b3a09bb7e (patch) | |
tree | f99046c53498376ce84900a7afcf1120f39c5076 /scripting/source/protocolhandler | |
parent | e74c72557455fcc20656b4a115885510ff634593 (diff) |
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
Diffstat (limited to 'scripting/source/protocolhandler')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; } } } |