From: Simon Pepping Date: Wed, 22 Dec 2010 12:39:35 +0000 (+0000) Subject: Fix bug 50510 X-Git-Tag: fop-1_1rc1old~389 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1854e09c0005f786b86fd540446a1f4b995a7587;p=xmlgraphics-fop.git Fix bug 50510 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1051874 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java index 927159ffc..7a9245dd5 100644 --- a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java +++ b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java @@ -271,6 +271,8 @@ public class RtfTextrun extends RtfContainer { //add RtfSpaceSplitter to inherit accumulated space rtfSpaceManager.pushRtfSpaceSplitter(attrs); rtfSpaceManager.setCandidate(attrs); + // create a string and add it as a child + new RtfString(this, writer, s); rtfSpaceManager.popRtfSpaceSplitter(); }