diff options
Diffstat (limited to 'src/org/apache/fop/fo/FObjMixed.java')
-rw-r--r-- | src/org/apache/fop/fo/FObjMixed.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/org/apache/fop/fo/FObjMixed.java b/src/org/apache/fop/fo/FObjMixed.java index 9e8dd79dc..a3373e593 100644 --- a/src/org/apache/fop/fo/FObjMixed.java +++ b/src/org/apache/fop/fo/FObjMixed.java @@ -22,7 +22,7 @@ import java.util.List; * and their processing */ public class FObjMixed extends FObj { - TextInfo textInfo = null; + protected TextInfo textInfo = null; protected FontInfo fontInfo = null; public FObjMixed(FONode parent) { @@ -35,8 +35,10 @@ public class FObjMixed extends FObj { } public void addLayoutManager(List lms) { - lms.add(new InlineStackingLayoutManager(this, + if (children != null) { + lms.add(new InlineStackingLayoutManager(this, new LMiter(children.listIterator()))); + } } protected void addCharacters(char data[], int start, int length) { @@ -54,7 +56,6 @@ public class FObjMixed extends FObj { } public void setup() { - if (this.properties != null) { setupID(); } |