summaryrefslogtreecommitdiff
path: root/odk/examples/java/DocumentHandling/DocumentConverter.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/java/DocumentHandling/DocumentConverter.java')
-rw-r--r--odk/examples/java/DocumentHandling/DocumentConverter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/java/DocumentHandling/DocumentConverter.java b/odk/examples/java/DocumentHandling/DocumentConverter.java
index aeb6f022d2ca..35002fb5de1b 100644
--- a/odk/examples/java/DocumentHandling/DocumentConverter.java
+++ b/odk/examples/java/DocumentHandling/DocumentConverter.java
@@ -103,7 +103,7 @@ public class DocumentConverter {
new com.sun.star.beans.PropertyValue[1];
propertyValues[0] = new com.sun.star.beans.PropertyValue();
propertyValues[0].Name = "Hidden";
- propertyValues[0].Value = new Boolean(true);
+ propertyValues[0].Value = Boolean.TRUE;
Object oDocToStore =
DocumentConverter.xCompLoader.loadComponentFromURL(
@@ -120,7 +120,7 @@ public class DocumentConverter {
// Setting the flag for overwriting
propertyValues[0] = new com.sun.star.beans.PropertyValue();
propertyValues[0].Name = "Overwrite";
- propertyValues[0].Value = new Boolean(true);
+ propertyValues[0].Value = Boolean.TRUE;
// Setting the filter name
propertyValues[1] = new com.sun.star.beans.PropertyValue();
propertyValues[1].Name = "FilterName";