summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/comp
diff options
context:
space:
mode:
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",