aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pepping <spepping@apache.org>2010-12-22 12:39:35 +0000
committerSimon Pepping <spepping@apache.org>2010-12-22 12:39:35 +0000
commit1854e09c0005f786b86fd540446a1f4b995a7587 (patch)
tree39f16668f9c316193e45c35d55e99dbda24663db
parentd4ec49dd8f220752be8a5ab0cf6d6f4e30a1e685 (diff)
downloadxmlgraphics-fop-1854e09c0005f786b86fd540446a1f4b995a7587.tar.gz
xmlgraphics-fop-1854e09c0005f786b86fd540446a1f4b995a7587.zip
Fix bug 50510
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1051874 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java2
1 files changed, 2 insertions, 0 deletions
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();
}