summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java b/qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java
index c6823a6c742e..651975828ea3 100644
--- a/qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwAccessibleEndnoteView.java
@@ -97,7 +97,7 @@ public class SwAccessibleEndnoteView extends TestCase {
try {
//change zoom value to 10%
//footer should be in the vissible area of the document
- xPropSet.setPropertyValue("ZoomValue", new Short("10"));
+ xPropSet.setPropertyValue("ZoomValue", Short.valueOf("10"));
} catch ( com.sun.star.lang.WrappedTargetException e ) {
e.printStackTrace(log);
throw new StatusException("Couldn't set propertyValue...", e);
@@ -133,9 +133,9 @@ public class SwAccessibleEndnoteView extends TestCase {
public void fireEvent() {
try {
//change zoom value to 130%
- PropSet.setPropertyValue("ZoomValue", new Short("15"));
+ PropSet.setPropertyValue("ZoomValue", Short.valueOf("15"));
//and back to 10%
- PropSet.setPropertyValue("ZoomValue", new Short("10"));
+ PropSet.setPropertyValue("ZoomValue", Short.valueOf("10"));
} catch ( com.sun.star.lang.WrappedTargetException e ) {
} catch ( com.sun.star.lang.IllegalArgumentException e ) {