[Libreoffice-commits] core.git: scripting/java

rbuj robert.buj at gmail.com
Sat Sep 13 16:05:27 PDT 2014


 scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a28ad55a306d31a49061b1564a3f86e219a8a55b
Author: rbuj <robert.buj at gmail.com>
Date:   Sun Sep 14 01:02:05 2014 +0200

    scripting: [deprecation] show() in Window has been deprecated
    
    Change-Id: I1c157ebbfa0c307fd92c0a2d26e7d530be8ea9da
    Reviewed-on: https://gerrit.libreoffice.org/11437
    Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
    Tested-by: Thomas Arnhold <thomas at arnhold.org>

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 1520f3f..04b15c2 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) {


More information about the Libreoffice-commits mailing list