diff options
-rw-r--r-- | src/java/org/apache/fop/fo/PropertyManager.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/java/org/apache/fop/fo/PropertyManager.java b/src/java/org/apache/fop/fo/PropertyManager.java index b39fc42bc..c2cb06343 100644 --- a/src/java/org/apache/fop/fo/PropertyManager.java +++ b/src/java/org/apache/fop/fo/PropertyManager.java @@ -380,13 +380,7 @@ public class PropertyManager implements Constants { * @return a AbsolutePositionProps object */ public CommonAbsolutePosition getAbsolutePositionProps() { - CommonAbsolutePosition props = new CommonAbsolutePosition(); - props.absolutePosition = - this.propertyList.get(PR_ABSOLUTE_POSITION).getEnum(); - props.top = this.propertyList.get(PR_TOP).getLength().getValue(); - props.bottom = this.propertyList.get(PR_BOTTOM).getLength().getValue(); - props.left = this.propertyList.get(PR_LEFT).getLength().getValue(); - props.right = this.propertyList.get(PR_RIGHT).getLength().getValue(); + CommonAbsolutePosition props = new CommonAbsolutePosition(propertyList); return props; } |