]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix bug 50510
authorSimon Pepping <spepping@apache.org>
Wed, 22 Dec 2010 12:39:35 +0000 (12:39 +0000)
committerSimon Pepping <spepping@apache.org>
Wed, 22 Dec 2010 12:39:35 +0000 (12:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1051874 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java

index 927159ffc78480e2a1594472497b358ca3c7adf4..7a9245dd5f6d0a1f8943d1cfe2bbbd8a55659144 100644 (file)
@@ -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();
     }