diff options
Diffstat (limited to 'odk/examples/java/Text/StyleCreation.java')
-rw-r--r-- | odk/examples/java/Text/StyleCreation.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/java/Text/StyleCreation.java b/odk/examples/java/Text/StyleCreation.java index a5ae0cc790f0..04207407c41d 100644 --- a/odk/examples/java/Text/StyleCreation.java +++ b/odk/examples/java/Text/StyleCreation.java @@ -99,7 +99,7 @@ public class StyleCreation { new Float( com.sun.star.awt.FontWeight.BOLD ) ); System.out.println( "set the font attribute 'Bold'" ); - xPropertySet.setPropertyValue("CharAutoKerning", new Boolean( true ) ); + xPropertySet.setPropertyValue("CharAutoKerning", Boolean.TRUE ); System.out.println( "set the paragraph attribute 'AutoKerning'" ); xPropertySet.setPropertyValue("ParaAdjust", new Integer( com.sun.star.style.ParagraphAdjust.CENTER_value ) ); |