diff options
| author | MenTaLguY <mental@rydia.net> | 2008-06-08 19:44:26 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-06-08 19:44:26 +0000 |
| commit | 3e9f14e201944380006bb851d40f5cacb860678d (patch) | |
| tree | 05e1d487b101aead4e985c4187209cdff5bb041f /src/xml/simple-document.cpp | |
| parent | Add option to either suppress path flash for items with LPE (e.g., spiro spli... (diff) | |
| download | inkscape-3e9f14e201944380006bb851d40f5cacb860678d.tar.gz inkscape-3e9f14e201944380006bb851d40f5cacb860678d.zip | |
plumb document references a little deeper in
(bzr r5861)
Diffstat (limited to 'src/xml/simple-document.cpp')
| -rw-r--r-- | src/xml/simple-document.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xml/simple-document.cpp b/src/xml/simple-document.cpp index d0aa31939..0a2cb15fb 100644 --- a/src/xml/simple-document.cpp +++ b/src/xml/simple-document.cpp @@ -55,19 +55,19 @@ Inkscape::XML::Event *SimpleDocument::commitUndoable() { } Node *SimpleDocument::createElement(char const *name) { - return new ElementNode(g_quark_from_string(name)); + return new ElementNode(g_quark_from_string(name), this); } Node *SimpleDocument::createTextNode(char const *content) { - return new TextNode(Util::share_string(content)); + return new TextNode(Util::share_string(content), this); } Node *SimpleDocument::createComment(char const *content) { - return new CommentNode(Util::share_string(content)); + return new CommentNode(Util::share_string(content), this); } Node *SimpleDocument::createPI(char const *target, char const *content) { - return new PINode(g_quark_from_string(target), Util::share_string(content)); + return new PINode(g_quark_from_string(target), Util::share_string(content), this); } void SimpleDocument::notifyChildAdded(Node &parent, |
