]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Reset imageReference once it's no longer needed
authorVincent Hennebert <vhennebert@apache.org>
Mon, 12 Oct 2009 18:04:07 +0000 (18:04 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Mon, 12 Oct 2009 18:04:07 +0000 (18:04 +0000)
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

index 4da0330c56d57da8ff6d4ff78fbb8afa809199a8..17ab1755c64c08f6c7ecc2160ab2901d87655c89 100644 (file)
@@ -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) {