aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java')
-rw-r--r--src/java/org/apache/fop/fo/properties/LineHeightPropertyMaker.java4
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;
}