Searched refs:old_node (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/
H A Dtext-editing.cpp292 static Inkscape::XML::Node* duplicate_node_without_children(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node const *old_node) argument
294 switch (old_node->type()) {
296 Inkscape::XML::Node *new_node = xml_doc->createElement(old_node->name());
297 Inkscape::Util::List<Inkscape::XML::AttributeRecord const> attributes = old_node->attributeList();
307 return xml_doc->createTextNode(old_node->content());
310 return xml_doc->createComment(old_node->content());
313 return xml_doc->createPI(old_node->name(), old_node->content());

Completed in 101 milliseconds