]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Add parent FO argument when building property lists
authorKaren Lease <klease@apache.org>
Fri, 10 Nov 2000 22:04:44 +0000 (22:04 +0000)
committerKaren Lease <klease@apache.org>
Fri, 10 Nov 2000 22:04:44 +0000 (22:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193767 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/FOTreeBuilder.java
src/org/apache/fop/fo/SVGTreeBuilder.java

index 4d25bc5461070bdb4c73278bb3cee72d1ea3c0bf..05b317d12922e08f8ec879df391e5d746ba60a27 100644 (file)
@@ -264,9 +264,10 @@ public class FOTreeBuilder extends DefaultHandler implements TreeBuilder {
                PropertyList list = null;
                if(currentListBuilder != null) {
                  list = currentListBuilder.makeList(fullName, attlist,  
-                       (currentFObj == null) ? null : currentFObj.properties);
+                       (currentFObj == null) ? null : currentFObj.properties,
+                                                    currentFObj);
                }
-           fobj = fobjMaker.make(currentFObj, list);
+               fobj = fobjMaker.make(currentFObj, list);
        } catch (FOPException e) {
                throw new SAXException(e);
        }
index 4a9091c29b4d71b99725074a8e7edb970809926b..efd8e752be59c1cb1736e6f608161afb5dc46879 100644 (file)
@@ -272,7 +272,7 @@ public class SVGTreeBuilder extends DefaultHandler implements TreeBuilder {
                PropertyList list = null;
                if(currentListBuilder != null) {
                        list = currentListBuilder.makeList(fullName, attlist,  
-                            (currentFObj == null) ? null : currentFObj.properties);
+                            (currentFObj == null) ? null : currentFObj.properties, currentFObj);
                }
            fobj = fobjMaker.make(currentFObj, list);
        } catch (FOPException e) {