summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/SOfficeFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/SOfficeFactory.java')
-rw-r--r--qadevOOo/runner/util/SOfficeFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/util/SOfficeFactory.java b/qadevOOo/runner/util/SOfficeFactory.java
index f086a0d27fb2..54f119b57d31 100644
--- a/qadevOOo/runner/util/SOfficeFactory.java
+++ b/qadevOOo/runner/util/SOfficeFactory.java
@@ -64,11 +64,11 @@ public class SOfficeFactory {
public static SOfficeFactory getFactory(XMultiServiceFactory xMSF) {
- SOfficeFactory soFactory = lookup.get(new Integer(xMSF.hashCode()).toString());
+ SOfficeFactory soFactory = lookup.get(Integer.valueOf(xMSF.hashCode()).toString());
if (soFactory == null) {
soFactory = new SOfficeFactory(xMSF);
- lookup.put(new Integer(xMSF.hashCode()).toString(), soFactory);
+ lookup.put(Integer.valueOf(xMSF.hashCode()).toString(), soFactory);
}
return soFactory;