diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 15:10:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:17 +0200 |
commit | 8a2c6c29af41cd7a62f37861fb0d4e81a857bb45 (patch) | |
tree | 87575bd76a2ce98793d2bb1773ddc4a9c4e5e41c /wizards | |
parent | java: use 'Integer.valueOf' instead of 'new Integer' (diff) | |
download | core-8a2c6c29af41cd7a62f37861fb0d4e81a857bb45.tar.gz core-8a2c6c29af41cd7a62f37861fb0d4e81a857bb45.zip |
java: use 'Long.valueOf' instead of 'new Long'
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/common/NumericalHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/common/NumericalHelper.java b/wizards/com/sun/star/wizards/common/NumericalHelper.java index 2b998ded224c..0472aea2cca4 100644 --- a/wizards/com/sun/star/wizards/common/NumericalHelper.java +++ b/wizards/com/sun/star/wizards/common/NumericalHelper.java @@ -261,7 +261,7 @@ public class NumericalHelper break; case TypeClass.HYPER_value: aTypeObject.iType = LONG_TYPE; - aTypeObject.aValue = new Long(AnyConverter.toLong(aValue)); + aTypeObject.aValue = Long.valueOf(AnyConverter.toLong(aValue)); break; case TypeClass.FLOAT_value: aTypeObject.iType = FLOAT_TYPE; |