diff options
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java index 613f17a75..417ad467e 100644 --- a/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java @@ -79,7 +79,7 @@ public class StaticContentLayoutManager extends BlockStackingLayoutManager { LinkedList returnList = new LinkedList(); while ((curLM = ((BlockLevelLayoutManager) getChildLM())) != null) { - if (curLM.generatesInlineAreas()) { + if (curLM instanceof InlineLevelLayoutManager) { log.error("inline area not allowed under flow - ignoring"); curLM.setFinished(true); continue; |