diff options
Diffstat (limited to 'src/org/apache/fop/pdf/PDFICCStream.java')
-rw-r--r-- | src/org/apache/fop/pdf/PDFICCStream.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/apache/fop/pdf/PDFICCStream.java b/src/org/apache/fop/pdf/PDFICCStream.java index 7890b51a9..55d444aca 100644 --- a/src/org/apache/fop/pdf/PDFICCStream.java +++ b/src/org/apache/fop/pdf/PDFICCStream.java @@ -11,7 +11,6 @@ import org.apache.fop.datatypes.ColorSpace; public class PDFICCStream extends PDFStream { private int origLength; private int len1, len3; - private byte[] originalData = null; private ColorSpace cs; @@ -43,7 +42,7 @@ public class PDFICCStream extends PDFStream { if (cs.getColorSpace() > 0) pb.append("/Alternate /").append(cs.getColorSpacePDFString()).append(" "); - pb.append("/Length ").append((_data.size() + 1)).append(" ").append(filterEntry); + pb.append("/Length ").append((_data.getSize() + 1)).append(" ").append(filterEntry); pb.append(" >>\n"); byte[] p = pb.toString().getBytes(); stream.write(p); |