aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2009-10-12 18:04:07 +0000
committerVincent Hennebert <vhennebert@apache.org>2009-10-12 18:04:07 +0000
commit1958fe771925a5c9f64c29580eb11fe42d46f16a (patch)
treedbb0c21c9c7da6c9160c43e9c5c2dd56676d27bc /src/java/org
parent9198590b5929ad49312ac8ab18f725a465634ad9 (diff)
downloadxmlgraphics-fop-1958fe771925a5c9f64c29580eb11fe42d46f16a.tar.gz
xmlgraphics-fop-1958fe771925a5c9f64c29580eb11fe42d46f16a.zip
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
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFRenderer.java1
1 files changed, 1 insertions, 0 deletions
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) {