diff options
author | Simon Pepping <spepping@apache.org> | 2006-12-20 08:34:28 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2006-12-20 08:34:28 +0000 |
commit | 057128e23fa539021ed00d801619d98b7850e7f7 (patch) | |
tree | 4263ed3dbb20dd7fc331bf1d94404c7175f02ff3 /src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java | |
parent | 471c26061f650f931ab4ce5ae316f013f33d2d71 (diff) | |
download | xmlgraphics-fop-057128e23fa539021ed00d801619d98b7850e7f7.tar.gz xmlgraphics-fop-057128e23fa539021ed00d801619d98b7850e7f7.zip |
Comment out unused properties. Patch by Richard Wheeldon
<richardw@geoquip-rnd.demon.co.uk>. ASF Bugzilla Bug 41044,
attachment 19177.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@488960 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java')
-rw-r--r-- | src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |