]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla #48227:
authorJeremias Maerki <jeremias@apache.org>
Wed, 25 Nov 2009 15:22:28 +0000 (15:22 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 25 Nov 2009 15:22:28 +0000 (15:22 +0000)
Removed superfluous line.
Submitted by: Gerald Buchgraber <gerald.buchgraber.at.student.tugraz.at>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@884138 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/pdf/PDFRenderer.java

index 9fe08c2e4ea68e91cc87bfefd89edb2120f4e270..5d20bbd9fcbfed238827db94d8f7f6a13879a626 100644 (file)
@@ -1258,8 +1258,6 @@ public class PDFRenderer extends AbstractPathOrientedRenderer implements PDFConf
         context.setProperty(PDFRendererContextConstants.PDF_DOCUMENT, pdfDoc);
         context.setProperty(PDFRendererContextConstants.OUTPUT_STREAM, ostream);
         context.setProperty(PDFRendererContextConstants.PDF_PAGE, currentPage);
-        context.setProperty(PDFRendererContextConstants.PDF_CONTEXT,
-                    currentContext == null ? currentPage : currentContext);
         context.setProperty(PDFRendererContextConstants.PDF_CONTEXT, currentContext);
         context.setProperty(PDFRendererContextConstants.PDF_STREAM, generator.getStream());
         context.setProperty(PDFRendererContextConstants.PDF_FONT_INFO, fontInfo);