diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/RegionBA.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/RegionSE.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RegionBA.java b/src/java/org/apache/fop/fo/pagination/RegionBA.java index 53d1b0745..80705b429 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionBA.java +++ b/src/java/org/apache/fop/fo/pagination/RegionBA.java @@ -48,7 +48,7 @@ public abstract class RegionBA extends Region { bPrecedence = (this.propertyList.get(PR_PRECEDENCE).getEnum() == Precedence.TRUE); - this.extent = this.propertyList.get(PR_EXTENT).getLength().getValue(); + this.extent = getPropLength(PR_EXTENT); } /** diff --git a/src/java/org/apache/fop/fo/pagination/RegionSE.java b/src/java/org/apache/fop/fo/pagination/RegionSE.java index 596560237..1f97acdaf 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionSE.java +++ b/src/java/org/apache/fop/fo/pagination/RegionSE.java @@ -43,7 +43,7 @@ public abstract class RegionSE extends Region { protected void addProperties(Attributes attlist) throws SAXParseException { super.addProperties(attlist); - this.extent = this.propertyList.get(PR_EXTENT).getLength().getValue(); + this.extent = getPropLength(PR_EXTENT); } /** |