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:
@@ -266,7 +266,7 @@ public class LocalOfficeWindow
|
|||||||
String vendor = System.getProperty("java.vendor");
|
String vendor = System.getProperty("java.vendor");
|
||||||
if ((vendor.equals("Sun Microsystems Inc.")
|
if ((vendor.equals("Sun Microsystems Inc.")
|
||||||
|| vendor.equals("Oracle Corporation"))
|
|| vendor.equals("Oracle Corporation"))
|
||||||
&& Boolean.valueOf(System.getProperty("sun.awt.xembedserver")).booleanValue())
|
&& Boolean.parseBoolean(System.getProperty("sun.awt.xembedserver")))
|
||||||
{
|
{
|
||||||
xembed = new NamedValue(
|
xembed = new NamedValue(
|
||||||
"XEMBED",
|
"XEMBED",
|
||||||
|
Reference in New Issue
Block a user