From 8326a6bf3883438b59331858d0a704271821c526 Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Wed, 26 May 2004 05:09:00 +0000 Subject: [PATCH] Removed getPropertyList() method from PropertyManager, as that method is already available on the FObj (which owns both the PropertyList and the PropertyManager.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197632 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/PropertyManager.java | 8 -------- .../apache/fop/layoutmgr/BlockContainerLayoutManager.java | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/java/org/apache/fop/fo/PropertyManager.java b/src/java/org/apache/fop/fo/PropertyManager.java index a5b1e8333..d84564d46 100644 --- a/src/java/org/apache/fop/fo/PropertyManager.java +++ b/src/java/org/apache/fop/fo/PropertyManager.java @@ -69,14 +69,6 @@ public class PropertyManager implements Constants { propertyList = propList; } - /** - * Returns the property list that is used for lookup. - * @return the property list - */ - public PropertyList getPropertyList() { - return propertyList; - } - /** * Sets the Document object telling the property manager which fonts are * available. diff --git a/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java index 0bfae0d3e..d3d42ac01 100644 --- a/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java @@ -85,9 +85,9 @@ public class BlockContainerLayoutManager extends BlockStackingLayoutManager { marginProps = propManager.getMarginProps(); borderProps = propManager.getBorderAndPadding(); - height = propManager.getPropertyList().get( + height = fobj.getPropertyList().get( PR_BLOCK_PROGRESSION_DIMENSION | CP_OPTIMUM).getLength(); - width = propManager.getPropertyList().get( + width = fobj.getPropertyList().get( PR_INLINE_PROGRESSION_DIMENSION | CP_OPTIMUM).getLength(); } -- 2.39.5