aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/RegionBody.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/RegionBody.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/RegionBody.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RegionBody.java b/src/java/org/apache/fop/fo/pagination/RegionBody.java
index 2e9880ec5..0ead97981 100644
--- a/src/java/org/apache/fop/fo/pagination/RegionBody.java
+++ b/src/java/org/apache/fop/fo/pagination/RegionBody.java
@@ -111,10 +111,10 @@ public class RegionBody extends Region {
private int getRelMargin(int reldir, String sRelPropName) {
FObj parent = (FObj) getParent();
String sPropName = "margin-"
- + parent.properties.wmRelToAbs(reldir);
- Property prop = properties.getExplicitBaseProp(sPropName);
+ + parent.propertyList.wmRelToAbs(reldir);
+ Property prop = propertyList.getExplicitBaseProp(sPropName);
if (prop == null) {
- prop = properties.getExplicitBaseProp(sRelPropName);
+ prop = propertyList.getExplicitBaseProp(sRelPropName);
}
return ((prop != null) ? prop.getLength().getValue() : 0);
}