aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2009-03-22 19:42:33 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2009-03-22 19:42:33 +0000
commit93c2e5aa454f116d932db970a7081e846274775c (patch)
tree3a4a5a22bb855aba796ca4471072e41fc7d4ca77 /src/java/org/apache/fop
parent15487f97808f907a319102362d07771241aa5a7f (diff)
downloadxmlgraphics-fop-93c2e5aa454f116d932db970a7081e846274775c.tar.gz
xmlgraphics-fop-93c2e5aa454f116d932db970a7081e846274775c.zip
revert some changes, dependent on other local changes, which would cause a compile error...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757244 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java b/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
index 597032848..9c05d2ee7 100644
--- a/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
@@ -83,11 +83,14 @@ public class FlowLayoutManager extends BlockStackingLayoutManager
int span = EN_NONE;
int disableColumnBalancing = EN_FALSE;
if (curLM instanceof BlockLayoutManager) {
- span = ((BlockLayoutManager)curLM).getSpan();
- disableColumnBalancing = ((BlockLayoutManager) curLM).getDisableColumnBalancing();
+ span = ((BlockLayoutManager)curLM).getBlockFO().getSpan();
+ disableColumnBalancing = ((BlockLayoutManager) curLM).getBlockContainerFO()
+ .getDisableColumnBalancing();
} else if (curLM instanceof BlockContainerLayoutManager) {
- span = ((BlockContainerLayoutManager)curLM).getSpan();
- disableColumnBalancing = ((BlockContainerLayoutManager) curLM).getDisableColumnBalancing();
+ span = ((BlockContainerLayoutManager)curLM).getBlockFO()
+ .getSpan();
+ disableColumnBalancing = ((BlockContainerLayoutManager) curLM).getBlockContainerFO()
+ .getDisableColumnBalancing();
}
int currentSpan = context.getCurrentSpan();