summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/text/_TextPortion.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_TextPortion.java')
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextPortion.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_TextPortion.java b/qadevOOo/tests/java/ifc/text/_TextPortion.java
index 7a1c8569dbff..24096fe6daa5 100644
--- a/qadevOOo/tests/java/ifc/text/_TextPortion.java
+++ b/qadevOOo/tests/java/ifc/text/_TextPortion.java
@@ -40,8 +40,8 @@ public class _TextPortion extends MultiPropertyTest {
*/
public void _ControlCharacter() {
testProperty("ControlCharacter",
- new Short(ControlCharacter.LINE_BREAK),
- new Short(ControlCharacter.PARAGRAPH_BREAK)) ;
+ Short.valueOf(ControlCharacter.LINE_BREAK),
+ Short.valueOf(ControlCharacter.PARAGRAPH_BREAK)) ;
}
} //finish class _TextPortion