summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
index 1e3624e8d3ff..bc656322b9aa 100644
--- a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
@@ -109,7 +109,7 @@ public class ScUniqueCellFormatsEnumeration extends TestCase {
TestEnvironment tEnv = new TestEnvironment(oObj);
- tEnv.addObjRelation("ExpectedCount", new Integer(4));
+ tEnv.addObjRelation("ExpectedCount", Integer.valueOf(4));
return tEnv;
}
@@ -122,7 +122,7 @@ public class ScUniqueCellFormatsEnumeration extends TestCase {
int c2int = 16777216 + c.hashCode();
try {
- xPropertySet.setPropertyValue("CellBackColor", new Integer(c2int));
+ xPropertySet.setPropertyValue("CellBackColor", Integer.valueOf(c2int));
} catch (com.sun.star.beans.UnknownPropertyException e) {
log.println("Couldn't change CellFormat");
} catch (com.sun.star.beans.PropertyVetoException e) {