From 73c7b4470f8793bcbf5f1ae795a72fdb7d4455b3 Mon Sep 17 00:00:00 2001 From: Peter Hancock Date: Thu, 29 Mar 2012 12:46:52 +0000 Subject: [PATCH] Fixed a bug: Delegate getStructureTreeEventHandler() to delegate git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1306814 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop/render/intermediate/util/IFDocumentHandlerProxy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/org/apache/fop/render/intermediate/util/IFDocumentHandlerProxy.java b/src/java/org/apache/fop/render/intermediate/util/IFDocumentHandlerProxy.java index 64c876fb1..dde744180 100644 --- a/src/java/org/apache/fop/render/intermediate/util/IFDocumentHandlerProxy.java +++ b/src/java/org/apache/fop/render/intermediate/util/IFDocumentHandlerProxy.java @@ -24,7 +24,6 @@ import java.util.Locale; import javax.xml.transform.Result; -import org.apache.fop.accessibility.DummyStructureTreeEventHandler; import org.apache.fop.accessibility.StructureTreeEventHandler; import org.apache.fop.fonts.FontInfo; import org.apache.fop.render.intermediate.IFContext; @@ -98,7 +97,7 @@ public class IFDocumentHandlerProxy implements IFDocumentHandler { /** {@inheritDoc} */ public StructureTreeEventHandler getStructureTreeEventHandler() { - return DummyStructureTreeEventHandler.INSTANCE; + return this.delegate.getStructureTreeEventHandler(); } /** {@inheritDoc} */ -- 2.39.5