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>
This commit is contained in:
rbuj
2014-09-10 00:20:32 +02:00
committed by Noel Grandin
parent dcd5aa95f7
commit bd9cd1a374

View File

@@ -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;