summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-10 00:20:32 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-09-10 08:20:08 +0000
commitbd9cd1a37488f7cf9f8af64e07ab6f29728665f4 (patch)
tree8f79e8ca0afdf01a952285fcedfb577dced14bc6 /qadevOOo
parentdcd5aa95f75b5bd110e88d41c2589067ba8c3882 (diff)
qadevOOo: Convert a primitive type into a string
Change-Id: I1a840346e75a3d7dd0de761660a0ea95c7ee034b Reviewed-on: https://gerrit.libreoffice.org/11370 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'qadevOOo')
-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 54f119b57d31..f672733a4e97 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(Integer.valueOf(xMSF.hashCode()).toString());
+ SOfficeFactory soFactory = lookup.get(Integer.toString(xMSF.hashCode()));
if (soFactory == null) {
soFactory = new SOfficeFactory(xMSF);
- lookup.put(Integer.valueOf(xMSF.hashCode()).toString(), soFactory);
+ lookup.put(Integer.toString(xMSF.hashCode()), soFactory);
}
return soFactory;