From: mental Date: Wed, 11 Jun 2008 15:55:04 +0000 (+0000) Subject: handle PI nodes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6a8a01da560675f2557015c353be0c5810e34419;p=inkscape.git handle PI nodes --- diff --git a/src/text-editing.cpp b/src/text-editing.cpp index cab71e94a..4b115f374 100644 --- 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 }