diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java')
-rw-r--r-- | odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java b/odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java index 31643329ad5a..0f7e25851a4d 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Number_Formats.java @@ -175,7 +175,7 @@ public class Number_Formats UnoRuntime.queryInterface(com.sun.star.beans.XPropertySet.class, xIndexAccess.getByIndex(1)); - xColPropSet.setPropertyValue( "OptimalWidth", new Boolean(true) ); + xColPropSet.setPropertyValue( "OptimalWidth", Boolean.TRUE ); } |