From 1958fe771925a5c9f64c29580eb11fe42d46f16a Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Mon, 12 Oct 2009 18:04:07 +0000 Subject: [PATCH] Reset imageReference once it's no longer needed git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824444 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/pdf/PDFRenderer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java index 4da0330c5..17ab1755c 100644 --- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java @@ -951,6 +951,7 @@ public class PDFRenderer extends AbstractPathOrientedRenderer implements PDFConf public void renderViewport(Viewport viewport) { imageReference = (String) viewport.getTrait(Trait.PTR); super.renderViewport(viewport); + imageReference = null; } private Typeface getTypeface(String fontName) { -- 2.39.5