aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/rtf/rtflib
diff options
context:
space:
mode:
authorRobert Meyer <rmeyer@apache.org>2014-02-26 10:23:18 +0000
committerRobert Meyer <rmeyer@apache.org>2014-02-26 10:23:18 +0000
commite7cc6d2790ecdb5e61644782b80187658be5bde7 (patch)
treeea600c4c87d47a060fe70d790913e410c9db433e /src/java/org/apache/fop/render/rtf/rtflib
parente8b4ae59f13d219170db05af22a25aea070ee2e3 (diff)
downloadxmlgraphics-fop-e7cc6d2790ecdb5e61644782b80187658be5bde7.tar.gz
xmlgraphics-fop-e7cc6d2790ecdb5e61644782b80187658be5bde7.zip
FOP-2260: Smart quotes broken in RTF if at start of text
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1571989 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/rtf/rtflib')
-rw-r--r--src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java
index bf32eceeb..9f542dd75 100644
--- a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java
+++ b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java
@@ -102,7 +102,7 @@ public final class RtfStringConverter {
if (i != 0) {
d = new Character(str.charAt(i - 1));
} else {
- d = new Character(str.charAt(i));
+ d = new Character(SPACE);
}
//This section modified by Chris Scott