summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java b/src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java
index e92a4e681..88c52b383 100644
--- a/src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java
+++ b/src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java
@@ -451,8 +451,7 @@ public class LayoutManagerMapping implements LayoutManagerMaker {
@Override
public void make(FONode node, List lms) {
- MultiSwitchLayoutManager mslm = new MultiSwitchLayoutManager((MultiSwitch) node);
- lms.add(mslm);
+ lms.add(new MultiSwitchLayoutManager((MultiSwitch) node));
}
}