You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ad...@apache.org on 2008/06/22 21:19:18 UTC
svn commit: r670401 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOText.java
Author: adelmelle
Date: Sun Jun 22 12:19:17 2008
New Revision: 670401
URL: http://svn.apache.org/viewvc?rev=670401&view=rev
Log:
Correction: characters() expects a 'length' not an 'endIndex'
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOText.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOText.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOText.java?rev=670401&r1=670400&r2=670401&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOText.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOText.java Sun Jun 22 12:19:17 2008
@@ -183,7 +183,7 @@
/** {@inheritDoc} */
protected void endOfNode() throws FOPException {
textTransform();
- getFOEventHandler().characters(ca, startIndex, endIndex);
+ getFOEventHandler().characters(ca, startIndex, endIndex - startIndex);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org