aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2008-06-22 19:19:17 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2008-06-22 19:19:17 +0000
commitcd2b9b2a43f6e199da46cbf98faadb17f0939307 (patch)
tree0a4a5c0afb509ff1105349ee2bb4d9d280ba572a /src/java/org/apache
parentebee3981d4f0356d283bb25f2541b1e8a4129f1e (diff)
downloadxmlgraphics-fop-cd2b9b2a43f6e199da46cbf98faadb17f0939307.tar.gz
xmlgraphics-fop-cd2b9b2a43f6e199da46cbf98faadb17f0939307.zip
Correction: characters() expects a 'length' not an 'endIndex'
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670401 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r--src/java/org/apache/fop/fo/FOText.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/FOText.java b/src/java/org/apache/fop/fo/FOText.java
index ac3babb42..7ae73d7e0 100644
--- a/src/java/org/apache/fop/fo/FOText.java
+++ b/src/java/org/apache/fop/fo/FOText.java
@@ -183,7 +183,7 @@ public class FOText extends FONode {
/** {@inheritDoc} */
protected void endOfNode() throws FOPException {
textTransform();
- getFOEventHandler().characters(ca, startIndex, endIndex);
+ getFOEventHandler().characters(ca, startIndex, endIndex - startIndex);
}
/**