diff options
Diffstat (limited to 'src/org/apache/fop/fo/flow/Wrapper.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/Wrapper.java | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/org/apache/fop/fo/flow/Wrapper.java b/src/org/apache/fop/fo/flow/Wrapper.java index da7eaa4f7..9eb8e56df 100644 --- a/src/org/apache/fop/fo/flow/Wrapper.java +++ b/src/org/apache/fop/fo/flow/Wrapper.java @@ -23,20 +23,8 @@ import org.apache.fop.layout.*; */ public class Wrapper extends FObjMixed { - public static class Maker extends FObj.Maker { - public FObj make(FObj parent, - PropertyList propertyList) throws FOPException { - return new Wrapper(parent, propertyList); - } - - } - - public static FObj.Maker maker() { - return new Wrapper.Maker(); - } - - public Wrapper(FObj parent, PropertyList propertyList) { - super(parent, propertyList); + public Wrapper(FObj parent) { + super(parent); // check that this occurs inside an fo:flow } |