aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-10-12 20:06:57 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-10-12 20:06:57 +0000
commit772a8a0bfa7297ef421898fac0b408d1a19dfcd6 (patch)
treefd971e0d4320c074bdbfe7680190717b63efa3ee
parentab6b545283d3d50ad50feaca6e8f78baf143e866 (diff)
downloadxmlgraphics-fop-772a8a0bfa7297ef421898fac0b408d1a19dfcd6.tar.gz
xmlgraphics-fop-772a8a0bfa7297ef421898fac0b408d1a19dfcd6.zip
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
-rw-r--r--src/java/org/apache/fop/layoutmgr/AddLMVisitor.java4
1 files changed, 2 insertions, 2 deletions
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;