aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorMaximilian Berger <maxberger@apache.org>2008-06-24 11:59:33 +0000
committerMaximilian Berger <maxberger@apache.org>2008-06-24 11:59:33 +0000
commitdc3032f675f4e6f56f8512e988ae3b82785ac390 (patch)
tree4c797582a5c4716bd6e311284a705655dcec7997 /src/java/org/apache
parent5578f06aa15fe6d41d81363c1d99db370b350f87 (diff)
downloadxmlgraphics-fop-dc3032f675f4e6f56f8512e988ae3b82785ac390.tar.gz
xmlgraphics-fop-dc3032f675f4e6f56f8512e988ae3b82785ac390.zip
Another character handling problem, replaced end-start by length
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@671145 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r--src/java/org/apache/fop/fo/pagination/bookmarks/BookmarkTitle.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/bookmarks/BookmarkTitle.java b/src/java/org/apache/fop/fo/pagination/bookmarks/BookmarkTitle.java
index c4cc73efc..6cee46752 100644
--- a/src/java/org/apache/fop/fo/pagination/bookmarks/BookmarkTitle.java
+++ b/src/java/org/apache/fop/fo/pagination/bookmarks/BookmarkTitle.java
@@ -51,13 +51,13 @@ public class BookmarkTitle extends FObj {
*
* @param data the character data
* @param start the start position in the data array
- * @param end the end position in the character array
+ * @param length the length of the character array
* @param locator location in fo source file.
*/
- protected void addCharacters(char[] data, int start, int end,
+ protected void addCharacters(char[] data, int start, int length,
PropertyList pList,
Locator locator) {
- title += new String(data, start, end - start);
+ title += new String(data, start, length);
}
/**