aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/Leader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Leader.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/Leader.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Leader.java b/src/java/org/apache/fop/fo/flow/Leader.java
index ca92fcb6f..6582c3672 100644
--- a/src/java/org/apache/fop/fo/flow/Leader.java
+++ b/src/java/org/apache/fop/fo/flow/Leader.java
@@ -67,7 +67,7 @@ public class Leader extends FObjMixed {
// fo:leader specific properties
// determines the pattern of leader; allowed values: space, rule,dots, use-content
- leaderPattern = this.propertyList.get(PR_LEADER_PATTERN).getEnum();
+ leaderPattern = getPropEnum(PR_LEADER_PATTERN);
switch(leaderPattern) {
case LeaderPattern.SPACE:
// use Space
@@ -76,7 +76,7 @@ public class Leader extends FObjMixed {
// the following properties only apply
// for leader-pattern = "rule"
ruleThickness = getPropLength(PR_RULE_THICKNESS);
- ruleStyle = propertyList.get(PR_RULE_STYLE).getEnum();
+ ruleStyle = getPropEnum(PR_RULE_STYLE);
break;
case LeaderPattern.DOTS:
break;