aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/dom
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2000-08-09 03:36:12 +0000
committerKeiron Liddle <keiron@apache.org>2000-08-09 03:36:12 +0000
commite3be00b924d52acb6ab0722ff11fb2c22e2382df (patch)
tree5ea01dedbc165e4ccbffbfae89c810b6cd4cad6f /src/org/apache/fop/dom
parent41762383e9792304fd05e57675ad242bf08bce91 (diff)
downloadxmlgraphics-fop-e3be00b924d52acb6ab0722ff11fb2c22e2382df.tar.gz
xmlgraphics-fop-e3be00b924d52acb6ab0722ff11fb2c22e2382df.zip
fixed an npe
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193612 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/dom')
-rw-r--r--src/org/apache/fop/dom/svg/SVGClipPathElementImpl.java2
-rw-r--r--src/org/apache/fop/dom/svg/SVGMaskElementImpl.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/dom/svg/SVGClipPathElementImpl.java b/src/org/apache/fop/dom/svg/SVGClipPathElementImpl.java
index 2642d657c..4c6e671eb 100644
--- a/src/org/apache/fop/dom/svg/SVGClipPathElementImpl.java
+++ b/src/org/apache/fop/dom/svg/SVGClipPathElementImpl.java
@@ -59,7 +59,7 @@ import org.w3c.dom.svg.*;
*
*/
public class SVGClipPathElementImpl extends GraphicElement implements SVGClipPathElement {
- public Vector elements;
+ public Vector elements = new Vector();
SVGAnimatedEnumeration units;
public void addElement(GraphicImpl g)
diff --git a/src/org/apache/fop/dom/svg/SVGMaskElementImpl.java b/src/org/apache/fop/dom/svg/SVGMaskElementImpl.java
index 153fc7dba..b3c7043c5 100644
--- a/src/org/apache/fop/dom/svg/SVGMaskElementImpl.java
+++ b/src/org/apache/fop/dom/svg/SVGMaskElementImpl.java
@@ -57,7 +57,7 @@ import java.util.Vector;
*
*/
public class SVGMaskElementImpl extends SVGElementImpl {
- public Vector elements;
+ public Vector elements = new Vector();
public void addElement(GraphicImpl g)
{