From a072e9db984f51becd5e0044dd76f5e8e7163d6c Mon Sep 17 00:00:00 2001
From: Finn Bock <bckfnn@apache.org>
Date: Wed, 13 Oct 2004 06:53:33 +0000
Subject: Children can now contain FONodes (esp. FOText).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198043 13f79535-47bb-0310-9956-ffa450edef68
---
 src/java/org/apache/fop/fo/flow/Wrapper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/java/org/apache/fop/fo/flow/Wrapper.java b/src/java/org/apache/fop/fo/flow/Wrapper.java
index 6935b7998..160fc793d 100644
--- a/src/java/org/apache/fop/fo/flow/Wrapper.java
+++ b/src/java/org/apache/fop/fo/flow/Wrapper.java
@@ -55,7 +55,7 @@ public class Wrapper extends FObjMixed {
             return;
         }
         while (baseIter.hasNext()) {
-            FObj child = (FObj) baseIter.next();
+            FONode child = (FONode) baseIter.next();
             child.addLayoutManager(list);
         }
     }
-- 
cgit v1.2.3