aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}
/**