summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java')
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
index 8415b12957d1..4951d40382e1 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
@@ -42,6 +42,7 @@ public class _UnoControlButtonModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
protected PropertyTester ColorTester = new PropertyTester() {
+ @Override
protected Object getNewValue(String propName, Object oldValue) {
if (util.ValueComparer.equalValue(oldValue, new Integer(17)))
return new Integer(25);
@@ -54,6 +55,7 @@ public class _UnoControlButtonModel extends MultiPropertyTest {
* Redefined method returns value, that differs from property value.
*/
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);