summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/comp/beans
diff options
context:
space:
mode:
Diffstat (limited to 'bean/com/sun/star/comp/beans')
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeWindow.java4
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
index 2cbde53431f8..e82061737c75 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
@@ -259,7 +259,7 @@ public class LocalOfficeWindow
NamedValue window = new NamedValue(
"WINDOW", new Any(new Type(Long.class), new Long(getNativeWindow())));
NamedValue xembed = new NamedValue(
- "XEMBED", new Any(new Type(Boolean.class), new Boolean(false)));
+ "XEMBED", new Any(new Type(Boolean.class), Boolean.FALSE));
if (getNativeWindowSystemType() == SystemDependent.SYSTEM_XWINDOW )
{
@@ -270,7 +270,7 @@ public class LocalOfficeWindow
{
xembed = new NamedValue(
"XEMBED",
- new Any(new Type(Boolean.class), new Boolean(true)));
+ new Any(new Type(Boolean.class), Boolean.TRUE));
}
}
return new Any(
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index b6504fa733bd..1f3612ffa166 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -837,7 +837,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
}
// notify change
- firePropertyChange( aProperty, new Boolean(bOldValue), new Boolean(bNewValue) );
+ firePropertyChange( aProperty, Boolean.valueOf(bOldValue), Boolean.valueOf(bNewValue) );
}
}