diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Charts/ChartHelper.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Charts/ChartHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Charts/ChartHelper.java b/odk/examples/DevelopersGuide/Charts/ChartHelper.java index 90dccd153800..19d1ede85c45 100644 --- a/odk/examples/DevelopersGuide/Charts/ChartHelper.java +++ b/odk/examples/DevelopersGuide/Charts/ChartHelper.java @@ -108,10 +108,10 @@ public class ChartHelper xShape.setSize( aExtent ); aAny = new Any(new Type(Short.class), - new Short(com.sun.star.text.VertOrientation.NONE)); + Short.valueOf(com.sun.star.text.VertOrientation.NONE)); xPropSet.setPropertyValue("VertOrient", aAny ); aAny = new Any(new Type(Short.class), - new Short(com.sun.star.text.HoriOrientation.NONE)); + Short.valueOf(com.sun.star.text.HoriOrientation.NONE)); xPropSet.setPropertyValue("HoriOrient", aAny ); aAny = new Any(new Type(Integer.class), Integer.valueOf(aUpperLeft.Y)); xPropSet.setPropertyValue("VertOrientPosition", aAny ); |