diff options
Diffstat (limited to 'wizards/com/sun/star/wizards/common/NumberFormatter.java')
-rw-r--r-- | wizards/com/sun/star/wizards/common/NumberFormatter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/common/NumberFormatter.java b/wizards/com/sun/star/wizards/common/NumberFormatter.java index d3dd3b5df1d3..83a51bc6d9db 100644 --- a/wizards/com/sun/star/wizards/common/NumberFormatter.java +++ b/wizards/com/sun/star/wizards/common/NumberFormatter.java @@ -183,11 +183,11 @@ public class NumberFormatter } if (xPSet.getPropertySetInfo().hasPropertyByName("NumberFormat")) { - xPSet.setPropertyValue("NumberFormat", new Integer(NewFormatKey)); + xPSet.setPropertyValue("NumberFormat", Integer.valueOf(NewFormatKey)); } else if (xPSet.getPropertySetInfo().hasPropertyByName("FormatKey")) { - xPSet.setPropertyValue("FormatKey", new Integer(NewFormatKey)); + xPSet.setPropertyValue("FormatKey", Integer.valueOf(NewFormatKey)); } else { |