aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/afp
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-07-28 15:23:09 +0000
committerJeremias Maerki <jeremias@apache.org>2008-07-28 15:23:09 +0000
commitd8d3756c6addd413c63600817e726a148af39ce6 (patch)
tree3f595ec716a609bf8b15c4873e5b5e2938ad8dc8 /src/java/org/apache/fop/render/afp
parentf138ee9f28320816517d68e662fd5b92b73e6e60 (diff)
parente016f209941db98ef58fd4e2efa12caeb4875ce6 (diff)
downloadxmlgraphics-fop-d8d3756c6addd413c63600817e726a148af39ce6.tar.gz
xmlgraphics-fop-d8d3756c6addd413c63600817e726a148af39ce6.zip
Merge from Trunk revisions 679735 to 680380.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680381 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/afp')
-rw-r--r--src/java/org/apache/fop/render/afp/extensions/AbstractAFPExtensionObject.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/render/afp/extensions/AbstractAFPExtensionObject.java b/src/java/org/apache/fop/render/afp/extensions/AbstractAFPExtensionObject.java
index 364889b29..a92687aab 100644
--- a/src/java/org/apache/fop/render/afp/extensions/AbstractAFPExtensionObject.java
+++ b/src/java/org/apache/fop/render/afp/extensions/AbstractAFPExtensionObject.java
@@ -20,13 +20,14 @@
package org.apache.fop.render.afp.extensions;
// FOP
+import org.xml.sax.Attributes;
+import org.xml.sax.Locator;
+
import org.apache.fop.apps.FOPException;
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.PropertyList;
import org.apache.fop.fo.ValidationException;
import org.apache.fop.fo.extensions.ExtensionAttachment;
-import org.xml.sax.Attributes;
-import org.xml.sax.Locator;
/**
* Base class for the AFP-specific extension elements.
@@ -60,9 +61,9 @@ public abstract class AbstractAFPExtensionObject extends FONode {
}
/** {@inheritDoc} */
- protected void addCharacters(char[] data, int start, int end,
+ protected void characters(char[] data, int start, int length,
PropertyList pList, Locator locator) {
- setupCode.setContent(new String(data, start, end - start));
+ setupCode.setContent(new String(data, start, length));
}
/** {@inheritDoc} */