summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/text/_XPagePrintable.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 14:00:54 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:16 +0200
commitbe1bb7b1ccee28be616b89cc95e97d656e78bbe3 (patch)
treed67d16a68d1469b5096a27c743c4b0326a0c0ebe /qadevOOo/tests/java/ifc/text/_XPagePrintable.java
parent56ef5533fc1bce2134721ae64d4d6c18a3526a7a (diff)
java: use Boolean.valueOf instead of instantiating Boolean objects
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
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));