summaryrefslogtreecommitdiff
path: root/scripting/examples/java/Highlight
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/examples/java/Highlight')
-rw-r--r--scripting/examples/java/Highlight/HighlightText.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/examples/java/Highlight/HighlightText.java b/scripting/examples/java/Highlight/HighlightText.java
index 11f5249acba8..8da530161ae7 100644
--- a/scripting/examples/java/Highlight/HighlightText.java
+++ b/scripting/examples/java/Highlight/HighlightText.java
@@ -152,7 +152,7 @@ public class HighlightText implements com.sun.star.awt.XActionListener {
// Sets the replaced text property color value to RGB parameter
PropertyValue cv = new PropertyValue("CharColor", -1,
- new Integer(red),
+ Integer.valueOf(red),
com.sun.star.beans.PropertyState.DIRECT_VALUE);
// Apply the properties