diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-02 09:54:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-02 14:47:25 +0100 |
commit | 00e1ac51e6d6185cba0b677587b03e1a94b26a87 (patch) | |
tree | 7f13dafc979639f31a20e13e920eff34689befe7 /wizards/com/sun | |
parent | 30877bdc01d3a9cda1878f66ca7a84760f5f8c67 (diff) |
'new Character' is deprecated in Java
replace with Character.valueOf
Change-Id: I9938db0fce6490eba6f4900efc3c139a1b71d120
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158786
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'wizards/com/sun')
-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 082a2a7733a9..8a3ef43b212e 100644 --- a/wizards/com/sun/star/wizards/common/NumericalHelper.java +++ b/wizards/com/sun/star/wizards/common/NumericalHelper.java @@ -179,7 +179,7 @@ public class NumericalHelper { case TypeClass.CHAR_value: aTypeObject.iType = CHAR_TYPE; - aTypeObject.aValue = new Character(AnyConverter.toChar(aValue)); + aTypeObject.aValue = Character.valueOf(AnyConverter.toChar(aValue)); break; case TypeClass.BYTE_value: aTypeObject.iType = BYTE_TYPE; |