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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to