From: William Victor Mote Date: Sun, 12 Oct 2003 20:06:57 +0000 (+0000) Subject: fix signature problem in inner class for InlineStackingLayoutManager -- attempt to... X-Git-Tag: Root_Temp_KnuthStylePageBreaking~1056 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=772a8a0bfa7297ef421898fac0b408d1a19dfcd6;p=xmlgraphics-fop.git fix signature problem in inner class for InlineStackingLayoutManager -- attempt to pass BasicLink as an argument changed the signature of the overridden createArea() method, causing the superclass method to be used in error instead git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196958 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java b/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java index bd5e83644..c0908b4a4 100644 --- a/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java +++ b/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java @@ -292,11 +292,11 @@ public class AddLMVisitor implements FOTreeVisitor { /** * Add start and end properties for the link */ - public void serveBasicLink(BasicLink node) { + public void serveBasicLink(final BasicLink node) { node.setup(); InlineStackingLayoutManager lm; lm = new InlineStackingLayoutManager() { - protected InlineParent createArea(BasicLink node) { + protected InlineParent createArea() { InlineParent area = super.createArea(); setupBasicLinkArea(node, parentLM, area); return area;