diff options
author | vegayours <vegayours@yandex-team.ru> | 2022-02-10 16:50:31 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:31 +0300 |
commit | 9f9f5936c5b484e8a48c009cf84feeca7ec3d03a (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/xml/document | |
parent | b9b7aa7f3855cbc4d6cd032a89adbc25e680a4df (diff) | |
download | ydb-9f9f5936c5b484e8a48c009cf84feeca7ec3d03a.tar.gz |
Restoring authorship annotation for <vegayours@yandex-team.ru>. Commit 2 of 2.
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 067fb8c1f6..bfda1fb7e6 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 74e20acd8f..18a554d732 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; |