summaryrefslogtreecommitdiff
path: root/odk/examples/java/Text/HardFormatting.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/java/Text/HardFormatting.java')
-rw-r--r--odk/examples/java/Text/HardFormatting.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/java/Text/HardFormatting.java b/odk/examples/java/Text/HardFormatting.java
index 5f69d84acac4..6ed8296fa500 100644
--- a/odk/examples/java/Text/HardFormatting.java
+++ b/odk/examples/java/Text/HardFormatting.java
@@ -119,7 +119,7 @@ public class HardFormatting {
com.sun.star.beans.XPropertySet.class, xWordCursor);
xPropertySet.setPropertyValue("CharWeight",
new Float(com.sun.star.awt.FontWeight.BOLD));
- xPropertySet.setPropertyValue("CharColor", new Integer( 255 ) );
+ xPropertySet.setPropertyValue("CharColor", Integer.valueOf( 255 ) );
System.out.println(
"Parastyle : "