summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fa6a5ff)
raw | patch | inline | side by side (parent: fa6a5ff)
author | mental <mental@users.sourceforge.net> | |
Thu, 25 Jan 2007 03:51:04 +0000 (03:51 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Thu, 25 Jan 2007 03:51:04 +0000 (03:51 +0000) |
src/xml/repr.cpp | patch | blob | history |
diff --git a/src/xml/repr.cpp b/src/xml/repr.cpp
index 9612bb8587526cf326bf7ede5210ed3940610df8..bd64afc34eb5252111f8bee9216afcdaca6a8bca 100644 (file)
--- a/src/xml/repr.cpp
+++ b/src/xml/repr.cpp
if (!strcmp(rootname, "svg:svg")) {
doc->setAttribute("version", "1.0");
doc->setAttribute("standalone", "no");
- Inkscape::XML::Node *comment = sp_repr_new_comment(" Created with Inkscape (http://www.inkscape.org/) ");
+ Inkscape::XML::Node *comment = doc->createComment(" Created with Inkscape (http://www.inkscape.org/) ");
doc->appendChild(comment);
Inkscape::GC::release(comment);
}
- Inkscape::XML::Node *root = sp_repr_new(rootname);
+ Inkscape::XML::Node *root = doc->createElement(rootname);
doc->appendChild(root);
Inkscape::GC::release(root);