summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce23898)
raw | patch | inline | side by side (parent: ce23898)
author | mental <mental@users.sourceforge.net> | |
Wed, 11 Jun 2008 15:55:04 +0000 (15:55 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Wed, 11 Jun 2008 15:55:04 +0000 (15:55 +0000) |
src/text-editing.cpp | patch | blob | history |
diff --git a/src/text-editing.cpp b/src/text-editing.cpp
index cab71e94a601f14bd53176c41ee29af8a09cf624..4b115f3747cb65e9bf8ced25628d53d8409be2e7 100644 (file)
--- a/src/text-editing.cpp
+++ b/src/text-editing.cpp
@@ -270,6 +270,9 @@ static Inkscape::XML::Node* duplicate_node_without_children(Inkscape::XML::Docum
case Inkscape::XML::COMMENT_NODE:
return xml_doc->createComment(old_node->content());
+ case Inkscape::XML::PI_NODE:
+ return xml_doc->createPI(old_node->name(), old_node->content());
+
case Inkscape::XML::DOCUMENT_NODE:
return NULL; // this had better never happen
}