summaryrefslogtreecommitdiffstats
path: root/src/sp-style-elem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-style-elem.cpp')
-rw-r--r--src/sp-style-elem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-style-elem.cpp b/src/sp-style-elem.cpp
index 4408f7ce8..d713a518b 100644
--- a/src/sp-style-elem.cpp
+++ b/src/sp-style-elem.cpp
@@ -131,7 +131,7 @@ sp_style_elem_write(SPObject *const object, Inkscape::XML::Node *repr, guint con
if (flags & SP_OBJECT_WRITE_BUILD) {
g_warning("nyi: Forming <style> content for SP_OBJECT_WRITE_BUILD.");
/* fixme: Consider having the CRStyleSheet be a member of SPStyleElem, and then
- pretty-print to a string s, then repr->addChild(sp_repr_new_text(s), NULL). */
+ pretty-print to a string s, then repr->addChild(xml_doc->createTextNode(s), NULL). */
}
if (style_elem.is_css) {
repr->setAttribute("type", "text/css");