From b8047886a0a823921fd02d95b48f448aa3ce9158 Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Tue, 19 Oct 2004 21:49:43 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/fo/PropertyManager.java | 8 +------- 1 file changed, 1 insertion(+), 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; } -- 2.39.5