diff options
author | Simon Steiner <ssteiner@apache.org> | 2015-06-05 12:57:45 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2015-06-05 12:57:45 +0000 |
commit | 9cefdb945736b7d7e90b3abbd1194aee7f480cde (patch) | |
tree | 87443dd2427f04806d43fbdda941c86601c4a718 /src | |
parent | 8470af9fd9972bedce303a5110724230af163520 (diff) | |
download | xmlgraphics-fop-9cefdb945736b7d7e90b3abbd1194aee7f480cde.tar.gz xmlgraphics-fop-9cefdb945736b7d7e90b3abbd1194aee7f480cde.zip |
FOP-2482: Read out loud not working with 256 bit encryption and accessibility
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1683746 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/pdf/AbstractPDFStream.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/pdf/AbstractPDFStream.java b/src/java/org/apache/fop/pdf/AbstractPDFStream.java index e550f7e24..67cb7b097 100644 --- a/src/java/org/apache/fop/pdf/AbstractPDFStream.java +++ b/src/java/org/apache/fop/pdf/AbstractPDFStream.java @@ -231,7 +231,7 @@ public abstract class AbstractPDFStream extends PDFObject { lengthEntry = refLength; } else { encodedStream = encodeStream(); - lengthEntry = Integer.valueOf(encodedStream.getSize() + 1); + lengthEntry = encodedStream.getSize(); } populateStreamDict(lengthEntry); |