summaryrefslogtreecommitdiff
path: root/scripting/source/protocolhandler
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-09-27 11:55:36 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-09-27 11:55:36 +0000
commit58ea9fa06cfa0154ecb82654fac7261b3a09bb7e (patch)
treef99046c53498376ce84900a7afcf1120f39c5076 /scripting/source/protocolhandler
parente74c72557455fcc20656b4a115885510ff634593 (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.cxx6
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;
}
}
}