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>
This commit is contained in:
rbuj
2014-09-09 19:22:59 +02:00
committed by Noel Grandin
parent 10e8e10605
commit 0f114c3d00

View File

@@ -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",