summaryrefslogtreecommitdiffstats
path: root/src/dom/svgimpl.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-05-12 20:20:57 +0000
committerishmal <ishmal@users.sourceforge.net>2008-05-12 20:20:57 +0000
commitfa705e84362c6072a8435103527e0d6eeac51242 (patch)
treebdbc25739f96da47a6434a2079e32f1279f5c535 /src/dom/svgimpl.cpp
parentAdd a centralized check (i.e. in the snapper mechanism) whether we've snapped... (diff)
downloadinkscape-fa705e84362c6072a8435103527e0d6eeac51242.tar.gz
inkscape-fa705e84362c6072a8435103527e0d6eeac51242.zip
minor changes for svg document
(bzr r5660)
Diffstat (limited to 'src/dom/svgimpl.cpp')
-rw-r--r--src/dom/svgimpl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dom/svgimpl.cpp b/src/dom/svgimpl.cpp
index 2c85fa21e..fc0af59c9 100644
--- a/src/dom/svgimpl.cpp
+++ b/src/dom/svgimpl.cpp
@@ -96,6 +96,13 @@ ElementPtr SVGDocumentImpl::createElementNS(const DOMString& namespaceURI,
//# Non-API methods
//##################
+void SVGDocumentImpl::init()
+{
+ title = "";
+ referrer = "";
+ domain = "";
+ rootElement = new SVGSVGElementImpl();
+}