aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/cli/AreaTreeInputHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/cli/AreaTreeInputHandler.java')
-rw-r--r--src/java/org/apache/fop/cli/AreaTreeInputHandler.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/cli/AreaTreeInputHandler.java b/src/java/org/apache/fop/cli/AreaTreeInputHandler.java
index a8e83c87f..c4f0c5395 100644
--- a/src/java/org/apache/fop/cli/AreaTreeInputHandler.java
+++ b/src/java/org/apache/fop/cli/AreaTreeInputHandler.java
@@ -61,10 +61,6 @@ public class AreaTreeInputHandler extends InputHandler {
public void renderTo(FOUserAgent userAgent, String outputFormat, OutputStream out)
throws FOPException {
FontInfo fontInfo = new FontInfo();
- FOUserAgent effUserAgent = userAgent;
- if (effUserAgent == null) {
- effUserAgent = new FOUserAgent();
- }
AreaTreeModel treeModel = new RenderPagesModel(userAgent,
outputFormat, fontInfo, out);