summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/comp/beans
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 15:10:41 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:17 +0200
commit8a2c6c29af41cd7a62f37861fb0d4e81a857bb45 (patch)
tree87575bd76a2ce98793d2bb1773ddc4a9c4e5e41c /bean/com/sun/star/comp/beans
parentff0ad0493ee1729c726587f667761b04101d774c (diff)
java: use 'Long.valueOf' instead of 'new Long'
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
Diffstat (limited to 'bean/com/sun/star/comp/beans')
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeWindow.java4
1 files changed, 2 insertions, 2 deletions
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));