aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout/LineArea.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-10-12 06:40:13 +0000
committerKeiron Liddle <keiron@apache.org>2001-10-12 06:40:13 +0000
commit49459fd44b6fd5bb44ce71beb2b0f5c0bcf06fc1 (patch)
treedcad463e87b7f8f7c211211da76485cdad0e8e90 /src/org/apache/fop/layout/LineArea.java
parentcd8fe5f0219eedfa1a634e5c5e5c99efaa395f6a (diff)
downloadxmlgraphics-fop-49459fd44b6fd5bb44ce71beb2b0f5c0bcf06fc1.tar.gz
xmlgraphics-fop-49459fd44b6fd5bb44ce71beb2b0f5c0bcf06fc1.zip
changed api associated with batik to current batik
added a half implemented bridge for jpg images git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194499 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layout/LineArea.java')
-rw-r--r--src/org/apache/fop/layout/LineArea.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/layout/LineArea.java b/src/org/apache/fop/layout/LineArea.java
index d0a13d1b0..6c1c68429 100644
--- a/src/org/apache/fop/layout/LineArea.java
+++ b/src/org/apache/fop/layout/LineArea.java
@@ -876,7 +876,7 @@ public class LineArea extends Area {
private String getHyphenationWord(char[] characters, int wordStart) {
boolean wordendFound = false;
int counter = 0;
- char[] newWord = new char[100]; // create a buffer
+ char[] newWord = new char[characters.length]; // create a buffer
while ((!wordendFound)
&& ((wordStart + counter) < characters.length)) {
char tk = characters[wordStart + counter];