java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user