diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2014-04-28 19:24:38 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2014-04-28 19:24:38 +0000 |
commit | 0eba38fb2fed5426761c09dc003bdba9b92a6fbd (patch) | |
tree | e1f3e6d2cadd01d721e5f78f6ccc6ff1569c7a77 /src | |
parent | a7b4d96433f1d39ce6f665770cd256e07616c90f (diff) | |
download | xmlgraphics-fop-0eba38fb2fed5426761c09dc003bdba9b92a6fbd.tar.gz xmlgraphics-fop-0eba38fb2fed5426761c09dc003bdba9b92a6fbd.zip |
Simplified make of MultiSwitchLM
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement@1590757 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/LayoutManagerMapping.java | 3 |
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)); } } |