diff options
Diffstat (limited to 'library/cpp/xml/document')
| -rw-r--r-- | library/cpp/xml/document/xml-document-decl.h | 10 | ||||
| -rw-r--r-- | library/cpp/xml/document/xml-document.cpp | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/xml/document/xml-document-decl.h b/library/cpp/xml/document/xml-document-decl.h index bfda1fb7e6e..067fb8c1f66 100644 --- a/library/cpp/xml/document/xml-document-decl.h +++ b/library/cpp/xml/document/xml-document-decl.h @@ -440,11 +440,11 @@ namespace NXml { */ bool IsText() const; - /** - * unlink node from parent and free - */ - void Remove(); - + /** + * unlink node from parent and free + */ + void Remove(); + /** * constructs null node */ diff --git a/library/cpp/xml/document/xml-document.cpp b/library/cpp/xml/document/xml-document.cpp index 18a554d7321..74e20acd8f6 100644 --- a/library/cpp/xml/document/xml-document.cpp +++ b/library/cpp/xml/document/xml-document.cpp @@ -300,12 +300,12 @@ namespace NXml { return NodePointer->type == XML_TEXT_NODE; } - void TNode::Remove() { - xmlNode* nodePtr = GetPtr(); - xmlUnlinkNode(nodePtr); - xmlFreeNode(nodePtr); - } - + void TNode::Remove() { + xmlNode* nodePtr = GetPtr(); + xmlUnlinkNode(nodePtr); + xmlFreeNode(nodePtr); + } + static int XmlWriteToOstream(void* context, const char* buffer, int len) { // possibly use to save doc as well IOutputStream* out = (IOutputStream*)context; |
