diff options
author | Keiron Liddle <keiron@apache.org> | 2000-08-09 03:36:12 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2000-08-09 03:36:12 +0000 |
commit | e3be00b924d52acb6ab0722ff11fb2c22e2382df (patch) | |
tree | 5ea01dedbc165e4ccbffbfae89c810b6cd4cad6f /src/org/apache/fop/dom | |
parent | 41762383e9792304fd05e57675ad242bf08bce91 (diff) | |
download | xmlgraphics-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.java | 2 | ||||
-rw-r--r-- | src/org/apache/fop/dom/svg/SVGMaskElementImpl.java | 2 |
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) { |