summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java')
-rw-r--r--qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java
index a05b4d2946cb..09c00af10e26 100644
--- a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java
+++ b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java
@@ -32,9 +32,9 @@ public class _ParagraphPropertiesComplex extends MultiPropertyTest {
protected PropertyTester WritingModeTester = new PropertyTester() {
@Override
protected Object getNewValue(String propName, Object oldValue) {
- if ((oldValue != null) && (oldValue.equals(new Short(com.sun.star.text.WritingMode2.LR_TB))))
- return new Short(com.sun.star.text.WritingMode2.PAGE); else
- return new Short(com.sun.star.text.WritingMode2.LR_TB);
+ if ((oldValue != null) && (oldValue.equals(Short.valueOf(com.sun.star.text.WritingMode2.LR_TB))))
+ return Short.valueOf(com.sun.star.text.WritingMode2.PAGE); else
+ return Short.valueOf(com.sun.star.text.WritingMode2.LR_TB);
}
} ;