diff options
Diffstat (limited to 'src/org/apache/fop/fo/flow/Character.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/Character.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/apache/fop/fo/flow/Character.java b/src/org/apache/fop/fo/flow/Character.java index 3058af970..561e0cefe 100644 --- a/src/org/apache/fop/fo/flow/Character.java +++ b/src/org/apache/fop/fo/flow/Character.java @@ -52,7 +52,9 @@ public class Character extends FObj { public void addLayoutManager(List list) { InlineArea inline = getInlineArea(); if (inline != null) { - LeafNodeLayoutManager lm = new LeafNodeLayoutManager(this); + LeafNodeLayoutManager lm = new LeafNodeLayoutManager(); + lm.setUserAgent(getUserAgent()); + lm.setFObj(this); lm.setCurrentArea(inline); list.add(lm); } |