From: Keiron Liddle Date: Wed, 22 Aug 2001 08:29:17 +0000 (+0000) Subject: sets the logger on the treebuilder when getting the content handler X-Git-Tag: fop-0_20_3~79 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=895c0bfc34bc9c80d4354442801a168358d9f020;p=xmlgraphics-fop.git sets the logger on the treebuilder when getting the content handler thanks to Michel Lehon for spotting this git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194439 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/apps/Driver.java b/src/org/apache/fop/apps/Driver.java index e8c9003ac..88967f79b 100644 --- a/src/org/apache/fop/apps/Driver.java +++ b/src/org/apache/fop/apps/Driver.java @@ -204,7 +204,6 @@ public class Driver implements Loggable { public void setLogger(Logger logger) { log = logger; - _treeBuilder.setLogger(log); } private Logger getLogger() { @@ -440,6 +439,7 @@ public class Driver implements Loggable { public ContentHandler getContentHandler() { StreamRenderer streamRenderer = new StreamRenderer(_stream, _renderer); streamRenderer.setLogger(getLogger()); + _treeBuilder.setLogger(getLogger()); _treeBuilder.setStreamRenderer(streamRenderer); return _treeBuilder;