summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/text/_XPagePrintable.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_XPagePrintable.java')
-rw-r--r--qadevOOo/tests/java/ifc/text/_XPagePrintable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java b/qadevOOo/tests/java/ifc/text/_XPagePrintable.java
index 42f08e8af37a..55bf4fae025d 100644
--- a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java
+++ b/qadevOOo/tests/java/ifc/text/_XPagePrintable.java
@@ -92,7 +92,7 @@ public class _XPagePrintable extends MultiMethodTest {
boolean res = true;
Boolean landscape = (Boolean) PrintSettings[8].Value;
- Boolean newlandscape = new Boolean(!landscape.booleanValue());
+ Boolean newlandscape = Boolean.valueOf(!landscape.booleanValue());
PrintSettings[8].Value = newlandscape;
oObj.setPagePrintSettings(PrintSettings);
res = (oObj.getPagePrintSettings()[8].Value.equals(newlandscape));