summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java')
-rw-r--r--qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java b/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
index a255ae217414..401b1d9bbe8a 100644
--- a/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
+++ b/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
@@ -65,7 +65,7 @@ public class _Chart3DBarProperties extends MultiPropertyTest {
log.println("Change Diagram to 3D");
oObj = UnoRuntime.queryInterface( XPropertySet.class, doc.getDiagram() );
try {
- oObj.setPropertyValue("Dim3D", new Boolean(true));
+ oObj.setPropertyValue("Dim3D", Boolean.TRUE);
} catch(com.sun.star.lang.WrappedTargetException e) {
log.println("Couldn't change Diagram to 3D");
e.printStackTrace(log);
@@ -98,7 +98,7 @@ public class _Chart3DBarProperties extends MultiPropertyTest {
log.println("Change Diagram to 3D");
oObj = UnoRuntime.queryInterface( XPropertySet.class, doc.getDiagram() );
try {
- oObj.setPropertyValue("Dim3D", new Boolean(false));
+ oObj.setPropertyValue("Dim3D", Boolean.FALSE);
} catch(com.sun.star.lang.WrappedTargetException e) {
log.println("Couldn't change Diagram back to 2D");
e.printStackTrace(log);