summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sp-filter.cpp2
-rw-r--r--src/sp-font.cpp2
-rw-r--r--src/sp-text.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-filter.cpp b/src/sp-filter.cpp
index 9d45c92fc..c3e7d217e 100644
--- a/src/sp-filter.cpp
+++ b/src/sp-filter.cpp
@@ -220,7 +220,7 @@ Inkscape::XML::Node* SPFilter::write(Inkscape::XML::Document *doc, Inkscape::XML
// Original from sp-item-group.cpp
if (flags & SP_OBJECT_WRITE_BUILD) {
if (!repr) {
- repr = doc->createElement("svg:this");
+ repr = doc->createElement("svg:filter");
}
GSList *l = NULL;
diff --git a/src/sp-font.cpp b/src/sp-font.cpp
index 4ac3278d7..62cf521d3 100644
--- a/src/sp-font.cpp
+++ b/src/sp-font.cpp
@@ -179,7 +179,7 @@ void SPFont::update(SPCtx *ctx, guint flags) {
Inkscape::XML::Node* SPFont::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
- repr = xml_doc->createElement("svg:this");
+ repr = xml_doc->createElement("svg:font");
}
sp_repr_set_svg_double(repr, "horiz-origin-x", this->horiz_origin_x);
diff --git a/src/sp-text.cpp b/src/sp-text.cpp
index d2f433eba..ef46e890f 100644
--- a/src/sp-text.cpp
+++ b/src/sp-text.cpp
@@ -235,7 +235,7 @@ void SPText::modified(guint flags) {
Inkscape::XML::Node *SPText::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
if (flags & SP_OBJECT_WRITE_BUILD) {
if (!repr) {
- repr = xml_doc->createElement("svg:this");
+ repr = xml_doc->createElement("svg:text");
}
GSList *l = NULL;