diff options
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/AddLMVisitor.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java b/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java index 03f9e0786..cf924d700 100644 --- a/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java +++ b/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java @@ -983,9 +983,15 @@ public class AddLMVisitor implements FOTreeVisitor { * @param node Wrapper object to process */ public void serveWrapper(Wrapper node) { - serveFObjMixed((FObjMixed)node); + ListIterator baseIter; + baseIter = node.getChildren(); + if (baseIter == null) return; + while (baseIter.hasNext()) { + FObj child = (FObj) baseIter.next(); + child.acceptVisitor(this); + } } - + /** * @param node FootnoteBody object to process */ |