summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2015-06-05 12:57:45 +0000
committerSimon Steiner <ssteiner@apache.org>2015-06-05 12:57:45 +0000
commit9cefdb945736b7d7e90b3abbd1194aee7f480cde (patch)
tree87443dd2427f04806d43fbdda941c86601c4a718 /src
parent8470af9fd9972bedce303a5110724230af163520 (diff)
downloadxmlgraphics-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.java2
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);