You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by vm...@apache.org on 2003/10/12 22:06:57 UTC

cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr AddLMVisitor.java

vmote       2003/10/12 13:06:57

  Modified:    src/java/org/apache/fop/layoutmgr AddLMVisitor.java
  Log:
  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
  
  Revision  Changes    Path
  1.21      +3 -3      xml-fop/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java
  
  Index: AddLMVisitor.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- AddLMVisitor.java	10 Oct 2003 15:56:57 -0000	1.20
  +++ AddLMVisitor.java	12 Oct 2003 20:06:57 -0000	1.21
  @@ -292,11 +292,11 @@
       /**
        * 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;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org