diff options
author | Finn Bock <bckfnn@apache.org> | 2004-10-19 21:49:43 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-10-19 21:49:43 +0000 |
commit | b8047886a0a823921fd02d95b48f448aa3ce9158 (patch) | |
tree | 2baa61f379cac20c5eca80fd0c9f8b8255763a80 | |
parent | b3ba1251971aa4485a76c3273dd0ddff3f7864e7 (diff) | |
download | xmlgraphics-fop-b8047886a0a823921fd02d95b48f448aa3ce9158.tar.gz xmlgraphics-fop-b8047886a0a823921fd02d95b48f448aa3ce9158.zip |
Third phase of performance improvement.
- Use new CommonAbsolutePosition.
PR: 31699
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198073 13f79535-47bb-0310-9956-ffa450edef68
-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; } |