summaryrefslogtreecommitdiff
path: root/odk/examples/java/Spreadsheet/EuroAdaption.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/java/Spreadsheet/EuroAdaption.java')
-rw-r--r--odk/examples/java/Spreadsheet/EuroAdaption.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/java/Spreadsheet/EuroAdaption.java b/odk/examples/java/Spreadsheet/EuroAdaption.java
index 498f18800dd3..870c20978245 100644
--- a/odk/examples/java/Spreadsheet/EuroAdaption.java
+++ b/odk/examples/java/Spreadsheet/EuroAdaption.java
@@ -213,7 +213,7 @@ public class EuroAdaption {
// set the new numberformat to the cellrange DM->EUR
xCellProp.setPropertyValue( "NumberFormat",
- new Integer( iNewNumberFormat ) );
+ Integer.valueOf( iNewNumberFormat ) );
// interate over all cells from the cellrange with an
// content and use the DM/EUR factor
@@ -297,7 +297,7 @@ public class EuroAdaption {
XPropertySet xCellProp = UnoRuntime.queryInterface(
XPropertySet.class, xCellRange );
xCellProp.setPropertyValue( "NumberFormat",
- new Integer(iNumberFormatKey) );
+ Integer.valueOf(iNumberFormatKey) );
}
}
catch( Exception e) {