From: Tore Engvig Date: Fri, 16 Nov 2001 19:40:32 +0000 (+0000) Subject: PR: X-Git-Tag: fop-0_20_4-doc~192 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=427d4fb27ee610cb77c29a637ca59356a3d54842;p=xmlgraphics-fop.git PR: Obtained from: Submitted by: Reviewed by: Fixed bug in makePDFICCStream git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194571 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/pdf/PDFDocument.java b/src/org/apache/fop/pdf/PDFDocument.java index e422a69f1..f1fbe24fd 100644 --- a/src/org/apache/fop/pdf/PDFDocument.java +++ b/src/org/apache/fop/pdf/PDFDocument.java @@ -766,7 +766,7 @@ public class PDFDocument { */ public PDFICCStream makePDFICCStream() { PDFICCStream iccStream = new PDFICCStream(++this.objectcount); - this.objects.addElement(iccStream); + this.objects.add(iccStream); return iccStream; }