aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/layout')
-rw-r--r--src/org/apache/fop/layout/hyphenation/Hyphenator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/layout/hyphenation/Hyphenator.java b/src/org/apache/fop/layout/hyphenation/Hyphenator.java
index 20b0ee372..23fe67337 100644
--- a/src/org/apache/fop/layout/hyphenation/Hyphenator.java
+++ b/src/org/apache/fop/layout/hyphenation/Hyphenator.java
@@ -151,7 +151,7 @@ public class Hyphenator {
if (hyphenFile.exists()) {
ObjectInputStream ois = null;
try {
- ois = new ObjectInputStream(new FileInputStream(hyphenFile));
+ ois = new ObjectInputStream(new BufferedInputStream(new FileInputStream(hyphenFile)));
hTree = (HyphenationTree)ois.readObject();
} catch (Exception e) {
e.printStackTrace();