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 gm...@apache.org on 2003/12/29 21:50:42 UTC

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

gmazza      2003/12/29 12:50:41

  Modified:    src/java/org/apache/fop/layoutmgr AddLMVisitor.java
                        BidiLayoutManager.java
  Log:
  Bug #25804: Fix of ClassCastException error occuring while
  using (unimplemented) bidi-override.  Patch by Finn Bock.
  
  Revision  Changes    Path
  1.25      +2 -2      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.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- AddLMVisitor.java	26 Dec 2003 22:39:14 -0000	1.24
  +++ AddLMVisitor.java	29 Dec 2003 20:50:41 -0000	1.25
  @@ -251,7 +251,7 @@
               for (int count = childList.size() - 1; count >= 0; count--) {
                   LayoutProcessor lm = (LayoutProcessor) childList.get(count);
                   if (lm.generatesInlineAreas()) {
  -                    LayoutProcessor blm = new BidiLayoutManager((LeafNodeLayoutManager) lm);
  +                    LayoutProcessor blm = new BidiLayoutManager((InlineStackingLayoutManager) lm);
                       blm.setFObj(node);
                       currentLMList.add(blm);
                   } else {
  
  
  
  1.3       +2 -2      xml-fop/src/java/org/apache/fop/layoutmgr/BidiLayoutManager.java
  
  Index: BidiLayoutManager.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/BidiLayoutManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BidiLayoutManager.java	19 Sep 2003 14:33:15 -0000	1.2
  +++ BidiLayoutManager.java	29 Dec 2003 20:50:41 -0000	1.3
  @@ -65,7 +65,7 @@
   
       private List children;
   
  -    BidiLayoutManager(LeafNodeLayoutManager cLM) {
  +    BidiLayoutManager(InlineStackingLayoutManager cLM) {
           children = new ArrayList();
   /*
           for (int count = cLM.size() - 1; count >= 0; count--) {
  
  
  

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