summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/ui/event/DataAware.java
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/ui/event/DataAware.java')
-rw-r--r--wizards/com/sun/star/wizards/ui/event/DataAware.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.java b/wizards/com/sun/star/wizards/ui/event/DataAware.java
index 17485dc012fb..185cd3cb1a94 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/DataAware.java
@@ -243,7 +243,7 @@ public abstract class DataAware {
if (getMethod.getReturnType().equals(String.class))
return PropertyNames.EMPTY_STRING;
if (getMethod.getReturnType().equals(Short.class))
- return new Short((short) 0);
+ return Short.valueOf((short) 0);
if (getMethod.getReturnType().equals(Integer.class))
return 0;
if (getMethod.getReturnType().equals(short[].class))