summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
index 32fa751351d0..6ddb7e5deb51 100644
--- a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
+++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
@@ -272,7 +272,7 @@ public class ScriptEditorForBeanShell implements ScriptEditor, ActionListener {
}
);
- String[] labels = {"Run", "Clear", "Save", "Close","Undo","Redo"};
+ String[] labels = {"Run", "Clear", "Save","Undo","Redo"};
JToolBar toolbar = new JToolBar();
toolbar.setRollover(true);
for (String label : labels) {
@@ -373,8 +373,6 @@ public class ScriptEditorForBeanShell implements ScriptEditor, ActionListener {
} catch (Exception invokeException) {
showErrorMessage(invokeException.getMessage());
}
- } else if (actionCommand.equals("Close")) {
- doClose();
} else if (actionCommand.equals("Save")) {
saveTextArea();
} else if (actionCommand.equals("Clear")) {