diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2009-03-22 19:45:06 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2009-03-22 19:45:06 +0000 |
commit | 3df2eea282cfff325ed544d514524bcccb1c3f2f (patch) | |
tree | 2e7cf74316f2674feccdbba008a08fd5183dea3b /src/java/org/apache/fop | |
parent | 93c2e5aa454f116d932db970a7081e846274775c (diff) | |
download | xmlgraphics-fop-3df2eea282cfff325ed544d514524bcccb1c3f2f.tar.gz xmlgraphics-fop-3df2eea282cfff325ed544d514524bcccb1c3f2f.zip |
revert some changes... and do it right, this time
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757245 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java b/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java index 9c05d2ee7..dd23d2e85 100644 --- a/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java @@ -84,11 +84,10 @@ public class FlowLayoutManager extends BlockStackingLayoutManager int disableColumnBalancing = EN_FALSE; if (curLM instanceof BlockLayoutManager) { span = ((BlockLayoutManager)curLM).getBlockFO().getSpan(); - disableColumnBalancing = ((BlockLayoutManager) curLM).getBlockContainerFO() + disableColumnBalancing = ((BlockLayoutManager) curLM).getBlockFO() .getDisableColumnBalancing(); } else if (curLM instanceof BlockContainerLayoutManager) { - span = ((BlockContainerLayoutManager)curLM).getBlockFO() - .getSpan(); + span = ((BlockContainerLayoutManager)curLM).getBlockContainerFO().getSpan(); disableColumnBalancing = ((BlockContainerLayoutManager) curLM).getBlockContainerFO() .getDisableColumnBalancing(); } |