[Libreoffice-commits] core.git: bean/com

rbuj robert.buj at gmail.com
Wed Sep 10 01:16:51 PDT 2014


 bean/com/sun/star/comp/beans/LocalOfficeWindow.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0f114c3d00f73441a405d25bc6d98be3a829cd8e
Author: rbuj <robert.buj at gmail.com>
Date:   Tue Sep 9 19:22:59 2014 +0200

    bean: Boolean Parsing
    
    Change-Id: If5e77da2b42b126e2c8fd7613b6adaed635fd683
    Reviewed-on: https://gerrit.libreoffice.org/11364
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
index 0fb6f9d..84c2a8a 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
@@ -266,7 +266,7 @@ public class LocalOfficeWindow
             String vendor = System.getProperty("java.vendor");
             if ((vendor.equals("Sun Microsystems Inc.")
 		 || vendor.equals("Oracle Corporation"))
-                && Boolean.valueOf(System.getProperty("sun.awt.xembedserver")).booleanValue())
+                && Boolean.parseBoolean(System.getProperty("sun.awt.xembedserver")))
             {
                 xembed = new NamedValue(
                     "XEMBED",


More information about the Libreoffice-commits mailing list