aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-10-19 13:41:25 +0000
committerFinn Bock <bckfnn@apache.org>2004-10-19 13:41:25 +0000
commit57cb0b6d92d298c870591910ef56aa6eac650379 (patch)
tree24a43bbc1fe39ad1f4866bf45beda17f07b774cd /src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
parent23a611f6b9d421eeee97831c449c3f603b54fff2 (diff)
downloadxmlgraphics-fop-57cb0b6d92d298c870591910ef56aa6eac650379.tar.gz
xmlgraphics-fop-57cb0b6d92d298c870591910ef56aa6eac650379.zip
Second phase of performance improvement.
- Only get base properties from property list. PR: 31699 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198063 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
index 959f9af08..f0e2fd844 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 = fobj.getPropertyList().get(
- PR_BLOCK_PROGRESSION_DIMENSION | CP_OPTIMUM).getLength();
+ PR_BLOCK_PROGRESSION_DIMENSION).getLengthRange().getOptimum().getLength();
width = fobj.getPropertyList().get(
- PR_INLINE_PROGRESSION_DIMENSION | CP_OPTIMUM).getLength();
+ PR_INLINE_PROGRESSION_DIMENSION).getLengthRange().getOptimum().getLength();
}
public void setOverflow(int of) {