summaryrefslogtreecommitdiff
path: root/embeddedobj/test/Container1/EmbedContApp.java
diff options
context:
space:
mode:
Diffstat (limited to 'embeddedobj/test/Container1/EmbedContApp.java')
-rw-r--r--embeddedobj/test/Container1/EmbedContApp.java6
1 files changed, 3 insertions, 3 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 );