summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-14 01:02:05 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-09-13 23:04:57 +0000
commita28ad55a306d31a49061b1564a3f86e219a8a55b (patch)
tree8e4e573db6ace0d38fb7a98e1ddee58ff714f6d0
parentf39ed4c680fe8ef2ea3f0ace91ea3175551ec9c5 (diff)
scripting: [deprecation] show() in Window has been deprecated
Change-Id: I1c157ebbfa0c307fd92c0a2d26e7d530be8ea9da Reviewed-on: https://gerrit.libreoffice.org/11437 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java2
1 files changed, 1 insertions, 1 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 1520f3f28fb6..04b15c27ba3c 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
@@ -256,7 +256,7 @@ public class ScriptEditorForBeanShell
this.model.setView(this.view);
initUI();
- frame.show();
+ frame.setVisible(true);
}
private void showErrorMessage(String message) {