diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-11-15 14:57:11 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-11-15 14:57:11 +0000 |
commit | 9f0e5a64a85dc6f3324632d6502e1fc77fcb01bb (patch) | |
tree | b28aa4e44b1238ad3073454799d465673702ab60 /scripting/java | |
parent | 28f5635f4bfb6a59c217e04dc6cf7934098f0a72 (diff) |
INTEGRATION: CWS scriptingf8 (1.5.2); FILE MERGED
2004/11/10 17:54:11 toconnor 1.5.2.1: #i36553# cannot execute beanshell script from editor
Diffstat (limited to 'scripting/java')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptSourceModel.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptSourceModel.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptSourceModel.java index 4faea9639f75..1b3a6c92233b 100644 --- a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptSourceModel.java +++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptSourceModel.java @@ -2,9 +2,9 @@ * * $RCSfile: ScriptSourceModel.java,v $ * -* $Revision: 1.5 $ +* $Revision: 1.6 $ * -* last change: $Author: rt $ $Date: 2004-10-22 13:59:02 $ +* last change: $Author: rt $ $Date: 2004-11-15 15:57:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -160,7 +160,7 @@ public class ScriptSourceModel { currentPosition = -1; view.update(); - interpreter.set("context", context); + interpreter.set("XSCRIPTCONTEXT", context); interpreter.set("ARGUMENTS", new Object[0]); if (view.isModified()) { |