tdf#123589 Removing close button from toolbar in Beanshell editor

The Beanshell Editor has a "Close" button in the toolbar.This button can be removed as the window already has a close button.so i remove it from ScriptEditorForBeanShell.java easly .

Change-Id: Icf2e56f664df56a01a2cf1935700ebe1888a7156
Reviewed-on: https://gerrit.libreoffice.org/68273
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 32fa751..6ddb7e5 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")) {