summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/comp
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-09 19:22:59 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-09-10 08:16:23 +0000
commit0f114c3d00f73441a405d25bc6d98be3a829cd8e (patch)
treee6d6eaa6e91b7955da0129891caa46a7ecd0aefc /bean/com/sun/star/comp
parent10e8e10605b9c52bd7fd8a0665dd4d358c733a66 (diff)
bean: Boolean Parsing
Change-Id: If5e77da2b42b126e2c8fd7613b6adaed635fd683 Reviewed-on: https://gerrit.libreoffice.org/11364 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'bean/com/sun/star/comp')
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
index 0fb6f9d8e722..84c2a8a6a429 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",