aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/apps
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-04-24 07:03:56 +0000
committerGlen Mazza <gmazza@apache.org>2004-04-24 07:03:56 +0000
commitb82d46787ee5ad003aa5c8d1dfc9d89cbbd77495 (patch)
tree18db93e62995160cd880e75c46a8c0bf16932ef7 /src/java/org/apache/fop/apps
parentd3952e1a023863c747e3459be616153865174d56 (diff)
downloadxmlgraphics-fop-b82d46787ee5ad003aa5c8d1dfc9d89cbbd77495.tar.gz
xmlgraphics-fop-b82d46787ee5ad003aa5c8d1dfc9d89cbbd77495.zip
Removed currently unused Document object from the LayoutStrategy (the latter
class is already a child of Document, and a two-way interface appears unneeded.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197536 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps')
-rw-r--r--src/java/org/apache/fop/apps/Driver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/apps/Driver.java b/src/java/org/apache/fop/apps/Driver.java
index 6145186db..4cee9c3e1 100644
--- a/src/java/org/apache/fop/apps/Driver.java
+++ b/src/java/org/apache/fop/apps/Driver.java
@@ -514,7 +514,7 @@ public class Driver {
accessible through the API and/or configuration */
if (foInputHandler instanceof FOTreeHandler) {
if (currentDocument.getLayoutStrategy() == null) {
- currentDocument.setLayoutStrategy(new LayoutManagerLS(currentDocument));
+ currentDocument.setLayoutStrategy(new LayoutManagerLS());
}
}