diff options
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/test/Container1/EmbedContApp.java | 6 | ||||
-rw-r--r-- | embeddedobj/test/Container1/NativeView.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/embeddedobj/test/Container1/EmbedContApp.java b/embeddedobj/test/Container1/EmbedContApp.java index 54f824c4957c..b0b2708d5467 100644 --- a/embeddedobj/test/Container1/EmbedContApp.java +++ b/embeddedobj/test/Container1/EmbedContApp.java @@ -1453,7 +1453,7 @@ public class EmbedContApp extends Applet { Object aArgs[] = new Object[2]; aArgs[0] = aFileURI; - aArgs[1] = new Integer( ElementModes.ELEMENT_READWRITE ); + aArgs[1] = Integer.valueOf( ElementModes.ELEMENT_READWRITE ); Object oStorage = xStorageFactory.createInstanceWithArguments( aArgs ); XStorage xTargetStorage = (XStorage)UnoRuntime.queryInterface( XStorage.class, oStorage ); @@ -1503,7 +1503,7 @@ public class EmbedContApp extends Applet oStorageFactory ); Object aArgs[] = new Object[2]; aArgs[0] = aFileURI; - aArgs[1] = new Integer( ElementModes.ELEMENT_READWRITE ); + aArgs[1] = Integer.valueOf( ElementModes.ELEMENT_READWRITE ); Object oStorage = xStorageFactory.createInstanceWithArguments( aArgs ); XStorage xTargetStorage = (XStorage)UnoRuntime.queryInterface( XStorage.class, oStorage ); @@ -1631,7 +1631,7 @@ public class EmbedContApp extends Applet { Object aArgs[] = new Object[2]; aArgs[0] = aFileURI; - aArgs[1] = new Integer( ElementModes.ELEMENT_READWRITE ); + aArgs[1] = Integer.valueOf( ElementModes.ELEMENT_READWRITE ); Object oStorage = xStorageFactory.createInstanceWithArguments( aArgs ); XStorage xTargetStorage = (XStorage)UnoRuntime.queryInterface( XStorage.class, oStorage ); diff --git a/embeddedobj/test/Container1/NativeView.java b/embeddedobj/test/Container1/NativeView.java index a28a17d9ea85..dcc4b6b8fca6 100644 --- a/embeddedobj/test/Container1/NativeView.java +++ b/embeddedobj/test/Container1/NativeView.java @@ -137,7 +137,7 @@ public class NativeView extends java.awt.Canvas { if( maHandle == null ) { - maHandle = new Integer( (int )getNativeWindow() ); + maHandle = Integer.valueOf( (int )getNativeWindow() ); maSystem = getNativeWindowSystemType(); } return maHandle; |