diff options
| author | MenTaLguY <mental@rydia.net> | 2008-06-11 15:55:04 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-06-11 15:55:04 +0000 |
| commit | e39ee4d0f544fd73aa535a2c13e68ddb5b9e1397 (patch) | |
| tree | ad6c4caf84b29a777f09767603ce4bb3c12917a4 /src | |
| parent | use object's document (diff) | |
| download | inkscape-e39ee4d0f544fd73aa535a2c13e68ddb5b9e1397.tar.gz inkscape-e39ee4d0f544fd73aa535a2c13e68ddb5b9e1397.zip | |
handle PI nodes
(bzr r5882)
Diffstat (limited to 'src')
| -rw-r--r-- | src/text-editing.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |
