diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java index 4951d40382e1..d9a3d5424eee 100644 --- a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java +++ b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java @@ -57,10 +57,10 @@ public class _UnoControlButtonModel extends MultiPropertyTest { protected PropertyTester BoolTester = new PropertyTester() { @Override protected Object getNewValue(String propName, Object oldValue) { - if (util.ValueComparer.equalValue(oldValue, new Boolean(true))) - return new Boolean(false); + if (util.ValueComparer.equalValue(oldValue, Boolean.TRUE)) + return Boolean.FALSE; else - return new Boolean(true); + return Boolean.TRUE; } }; |