summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/text/_TextFrame.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_TextFrame.java')
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextFrame.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_TextFrame.java b/qadevOOo/tests/java/ifc/text/_TextFrame.java
index c501654f4a40..a23d22862a37 100644
--- a/qadevOOo/tests/java/ifc/text/_TextFrame.java
+++ b/qadevOOo/tests/java/ifc/text/_TextFrame.java
@@ -43,9 +43,9 @@ public class _TextFrame extends MultiPropertyTest {
@Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
- if (oldValue.equals(new Short(com.sun.star.text.WritingMode2.LR_TB)))
- return new Short(com.sun.star.text.WritingMode2.TB_LR); else
- return new Short(com.sun.star.text.WritingMode2.LR_TB);
+ if (oldValue.equals(Short.valueOf(com.sun.star.text.WritingMode2.LR_TB)))
+ return Short.valueOf(com.sun.star.text.WritingMode2.TB_LR); else
+ return Short.valueOf(com.sun.star.text.WritingMode2.LR_TB);
}
} ;