]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Removed getPropertyList() method from PropertyManager, as that method
authorGlen Mazza <gmazza@apache.org>
Wed, 26 May 2004 05:09:00 +0000 (05:09 +0000)
committerGlen Mazza <gmazza@apache.org>
Wed, 26 May 2004 05:09:00 +0000 (05:09 +0000)
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
src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java

index a5b1e83332e02cdbed264c95328a060318af5604..d84564d46f8201bb4521b695c085f7a9f2358844 100644 (file)
@@ -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.
index 0bfae0d3e04219cb47779d9cbc66daeffb45fc67..d3d42ac0195ea442b9c283c6d42101a39e7737c3 100644 (file)
@@ -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();
     }