From 3df2eea282cfff325ed544d514524bcccb1c3f2f Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Sun, 22 Mar 2009 19:45:06 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java | 5 ++--- 1 file 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(); } -- 2.39.5