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.java6
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 d9a3d5424eee..d49fdb62cca1 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
@@ -44,10 +44,10 @@ public class _UnoControlButtonModel extends MultiPropertyTest {
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);
+ if (util.ValueComparer.equalValue(oldValue, Integer.valueOf(17)))
+ return Integer.valueOf(25);
else
- return new Integer(17);
+ return Integer.valueOf(17);
}
};