diff options
Diffstat (limited to 'bean/com')
-rw-r--r-- | bean/com/sun/star/beans/LocalOfficeWindow.java | 4 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/LocalOfficeWindow.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java index 03a4bd4b90ca..ebae69da94f5 100644 --- a/bean/com/sun/star/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/beans/LocalOfficeWindow.java @@ -126,7 +126,7 @@ public class LocalOfficeWindow // set real parent XVclWindowPeer xVclWindowPeer = UnoRuntime.queryInterface( XVclWindowPeer.class, mWindow); - xVclWindowPeer.setProperty( "PluginParent", new Long(getNativeWindow()) ); + xVclWindowPeer.setProperty( "PluginParent", Long.valueOf(getNativeWindow()) ); bPeer = true; // show document window @@ -147,7 +147,7 @@ public class LocalOfficeWindow // set null parent XVclWindowPeer xVclWindowPeer = UnoRuntime.queryInterface( XVclWindowPeer.class, mWindow); - xVclWindowPeer.setProperty( "PluginParent", new Long(0) ); + xVclWindowPeer.setProperty( "PluginParent", Long.valueOf(0) ); bPeer = false; } } diff --git a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java index e82061737c75..0fb6f9d8e722 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java @@ -151,7 +151,7 @@ public class LocalOfficeWindow // set null parent XVclWindowPeer xVclWindowPeer = UnoRuntime.queryInterface( XVclWindowPeer.class, mWindow); - xVclWindowPeer.setProperty( "PluginParent", new Long(0) ); + xVclWindowPeer.setProperty( "PluginParent", Long.valueOf(0) ); bPeer = false; } } @@ -257,7 +257,7 @@ public class LocalOfficeWindow { NamedValue window = new NamedValue( - "WINDOW", new Any(new Type(Long.class), new Long(getNativeWindow()))); + "WINDOW", new Any(new Type(Long.class), Long.valueOf(getNativeWindow()))); NamedValue xembed = new NamedValue( "XEMBED", new Any(new Type(Boolean.class), Boolean.FALSE)); |