diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-07-28 15:05:14 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-07-28 15:05:14 +0000 |
commit | e016f209941db98ef58fd4e2efa12caeb4875ce6 (patch) | |
tree | 1af8f696f7885f0c8aa3349518a16e37bf786db4 /src/java/org/apache/fop/fo/FOText.java | |
parent | 3307e9495037a527348aa0153dd8c5e1b43afdcb (diff) | |
download | xmlgraphics-fop-e016f209941db98ef58fd4e2efa12caeb4875ce6.tar.gz xmlgraphics-fop-e016f209941db98ef58fd4e2efa12caeb4875ce6.zip |
Reverted revision 670341 and replaced it with a different solution as discussed:
addCharacters() is now deprecated and called by the new characters() method which uses start/length instead of start/end.
Fixed bugs in the AFP and PS extensions (ArrayIndexOutOfBoundsExceptions). They were not properly changed when the interface changed.
Discussion: http://markmail.org/message/pdgzf6odxrnhflby
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@680378 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/FOText.java')
-rw-r--r-- | src/java/org/apache/fop/fo/FOText.java | 2 |
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 eb0627b4b..08ffa40a3 100644 --- a/src/java/org/apache/fop/fo/FOText.java +++ b/src/java/org/apache/fop/fo/FOText.java @@ -93,7 +93,7 @@ public class FOText extends FONode implements CharSequence { } /** {@inheritDoc} */ - protected void addCharacters(char[] data, int start, int length, + protected void characters(char[] data, int start, int length, PropertyList list, Locator locator) throws FOPException { if (this.charBuffer == null) { |