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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user