summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/view
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/view')
-rw-r--r--qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java2
-rw-r--r--qadevOOo/tests/java/ifc/view/_XPrintable.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java b/qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java
index 813cafca06ae..4eceb4ac15c7 100644
--- a/qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java
@@ -96,7 +96,7 @@ public class _XPrintJobBroadcaster extends MultiMethodTest {
printProps[0].State = com.sun.star.beans.PropertyState.DEFAULT_VALUE;
printProps[1] = new PropertyValue();
printProps[1].Name = "Wait";
- printProps[1].Value = new Boolean(true);
+ printProps[1].Value = Boolean.TRUE;
}
/**
diff --git a/qadevOOo/tests/java/ifc/view/_XPrintable.java b/qadevOOo/tests/java/ifc/view/_XPrintable.java
index cc00ae30940d..21e470fef18c 100644
--- a/qadevOOo/tests/java/ifc/view/_XPrintable.java
+++ b/qadevOOo/tests/java/ifc/view/_XPrintable.java
@@ -152,7 +152,7 @@ public class _XPrintable extends MultiMethodTest {
PrintOptions[0] = firstProp;
PrintOptions[1] = new PropertyValue();
PrintOptions[1].Name = "Wait";
- PrintOptions[1].Value = new Boolean(true);
+ PrintOptions[1].Value = Boolean.TRUE;
oObj.print(PrintOptions);
}
catch (com.sun.star.lang.IllegalArgumentException ex) {