]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-2263: PDFDocumentGraphics2D.closePage() should not nullify currentStream; change...
authorLuis Bernardo <lbernardo@apache.org>
Fri, 13 Dec 2013 20:23:54 +0000 (20:23 +0000)
committerLuis Bernardo <lbernardo@apache.org>
Fri, 13 Dec 2013 20:23:54 +0000 (20:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1550834 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/svg/PDFDocumentGraphics2D.java

index e91e2231c606ad7e3f121b5ba05ed1e134cc6784..cb2b58c40e95b08784bfc604b38d8cc44c487950 100644 (file)
@@ -278,7 +278,6 @@ public class PDFDocumentGraphics2D extends PDFGraphics2D {
         PDFStream pdfStream = this.pdfDoc.getFactory().makeStream(
                 PDFFilterList.CONTENT_FILTER, false);
         pdfStream.add(getString());
-        currentStream = null;
         this.pdfDoc.registerObject(pdfStream);
         pdfContext.getCurrentPage().setContents(pdfStream);
         PDFAnnotList annots = pdfContext.getCurrentPage().getAnnotations();