From 057128e23fa539021ed00d801619d98b7850e7f7 Mon Sep 17 00:00:00 2001 From: Simon Pepping Date: Wed, 20 Dec 2006 08:34:28 +0000 Subject: Comment out unused properties. Patch by Richard Wheeldon . ASF Bugzilla Bug 41044, attachment 19177. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@488960 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java') diff --git a/src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java b/src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java index 86472b81a..e6f4ec393 100644 --- a/src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java +++ b/src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java @@ -54,9 +54,9 @@ public class LineHeightPropertyMaker extends SpaceProperty.Maker { */ Property p = super.make(propertyList, value, fo); p.getSpace().setConditionality( - new EnumProperty(Constants.EN_RETAIN, "RETAIN"), true); + EnumProperty.getInstance(Constants.EN_RETAIN, "RETAIN"), true); p.getSpace().setPrecedence( - new EnumProperty(Constants.EN_FORCE, "FORCE"), true); + EnumProperty.getInstance(Constants.EN_FORCE, "FORCE"), true); return p; } -- cgit v1.2.3