]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
PR:
authorTore Engvig <tore@apache.org>
Fri, 16 Nov 2001 19:40:32 +0000 (19:40 +0000)
committerTore Engvig <tore@apache.org>
Fri, 16 Nov 2001 19:40:32 +0000 (19:40 +0000)
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

src/org/apache/fop/pdf/PDFDocument.java

index e422a69f1d39f3e215116079c4d433db491074d0..f1fbe24fd3966fcb7d3215bfad1f99a7f5ab1e02 100644 (file)
@@ -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;
     }