aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-08-02 10:52:16 +0000
committerKeiron Liddle <keiron@apache.org>2002-08-02 10:52:16 +0000
commita8468850f855f0805042851bc984754a901e5af9 (patch)
tree38276919e6fd078aad8044a17373696a8eb5ed2d /src
parente1e850fe0e40d83e0dbd6fe500c0bd23017f384d (diff)
downloadxmlgraphics-fop-a8468850f855f0805042851bc984754a901e5af9.tar.gz
xmlgraphics-fop-a8468850f855f0805042851bc984754a901e5af9.zip
fixes length problem causing xref error...found it at last
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195053 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/org/apache/fop/pdf/PDFStream.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/pdf/PDFStream.java b/src/org/apache/fop/pdf/PDFStream.java
index ef5dcd5f7..f0ddaaf5b 100644
--- a/src/org/apache/fop/pdf/PDFStream.java
+++ b/src/org/apache/fop/pdf/PDFStream.java
@@ -223,8 +223,8 @@ public class PDFStream extends PDFObject {
stream.write(p);
length += p.length;
_data.outputStreamData(stream);
- _data.close();
length += _data.getSize();
+ _data.close();
p = "\nendstream\n".getBytes();
stream.write(p);
length += p.length;