From 9f9f5936c5b484e8a48c009cf84feeca7ec3d03a Mon Sep 17 00:00:00 2001 From: vegayours Date: Thu, 10 Feb 2022 16:50:31 +0300 Subject: Restoring authorship annotation for . Commit 2 of 2. --- library/cpp/xml/document/xml-document-decl.h | 10 +++++----- library/cpp/xml/document/xml-document.cpp | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'library/cpp/xml') diff --git a/library/cpp/xml/document/xml-document-decl.h b/library/cpp/xml/document/xml-document-decl.h index 067fb8c1f66..bfda1fb7e6e 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 74e20acd8f6..18a554d7321 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; -- cgit v1.3