From 9a439a087103ce1059c14a60c7b7c016071983a2 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Thu, 21 Jun 2001 14:58:22 +0000 Subject: [PATCH] removed unneeded code git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194307 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/svg/SVGElement.java | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/org/apache/fop/svg/SVGElement.java b/src/org/apache/fop/svg/SVGElement.java index 08aa8e598..4c2dd58c7 100644 --- a/src/org/apache/fop/svg/SVGElement.java +++ b/src/org/apache/fop/svg/SVGElement.java @@ -137,28 +137,4 @@ public class SVGElement extends Svg { /* return status */ return new Status(Status.OK); } - - public void buildTopLevel(Document doc, Element svgRoot) - { - // build up the info for the top level element - for (int count = 0; count < props.length; count++) { - if (this.properties.get(props[count]) != null) { - String rf = this.properties.get(props[count]).getString(); - if (rf != null) - svgRoot.setAttributeNS(null, props[count], rf); - } - } - //doc.appendChild(topLevel); - int numChildren = this.children.size(); - for (int i = 0; i < numChildren; i++) { - Object child = children.elementAt(i); - if (child instanceof SVGObj) { - ((SVGObj) child).addGraphic(doc, svgRoot); - } else if (child instanceof String) { - org.w3c.dom.Text text = doc.createTextNode((String) child); - svgRoot.appendChild(text); - } - } - - } } -- 2.39.5