[Libreoffice-commits] core.git: qadevOOo/runner
rbuj
robert.buj at gmail.com
Wed Sep 10 01:20:33 PDT 2014
qadevOOo/runner/util/SOfficeFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit bd9cd1a37488f7cf9f8af64e07ab6f29728665f4
Author: rbuj <robert.buj at gmail.com>
Date: Wed Sep 10 00:20:32 2014 +0200
qadevOOo: Convert a primitive type into a string
Change-Id: I1a840346e75a3d7dd0de761660a0ea95c7ee034b
Reviewed-on: https://gerrit.libreoffice.org/11370
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/qadevOOo/runner/util/SOfficeFactory.java b/qadevOOo/runner/util/SOfficeFactory.java
index 54f119b..f672733 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;
More information about the Libreoffice-commits
mailing list