summaryrefslogtreecommitdiff
path: root/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java
diff options
context:
space:
mode:
Diffstat (limited to 'javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java')
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java
index ca03a7cbf9a2..e66167fda900 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java
@@ -894,7 +894,7 @@ public final class PropertySetMixin {
isDefaulted, wrapOptional));
UnoRuntime.queryInterface(
XIdlField2.class, type.getField("IsAmbiguous")).set(
- strct, new Boolean(isAmbiguous));
+ strct, Boolean.valueOf(isAmbiguous));
} catch (com.sun.star.lang.IllegalArgumentException e) {
throw new RuntimeException(
"unexpected com.sun.star.lang.IllegalArgumentException: "
@@ -921,7 +921,7 @@ public final class PropertySetMixin {
false, false, wrapOptional));
UnoRuntime.queryInterface(
XIdlField2.class, type.getField("IsDefaulted")).set(
- strct, new Boolean(isDefaulted));
+ strct, Boolean.valueOf(isDefaulted));
} catch (com.sun.star.lang.IllegalArgumentException e) {
throw new RuntimeException(
"unexpected com.sun.star.lang.IllegalArgumentException: "
@@ -941,7 +941,7 @@ public final class PropertySetMixin {
try {
UnoRuntime.queryInterface(
XIdlField2.class, type.getField("IsPresent")).set(
- strct, new Boolean(present));
+ strct, Boolean.valueOf(present));
if (present) {
XIdlField2 field = UnoRuntime.queryInterface(
XIdlField2.class, type.getField("Value"));