aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/xml
diff options
context:
space:
mode:
authorvegayours <vegayours@yandex-team.ru>2022-02-10 16:50:31 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:31 +0300
commitb9b7aa7f3855cbc4d6cd032a89adbc25e680a4df (patch)
tree84d4a0f0857da118debdb9684b64ab00acb42206 /library/cpp/xml
parentb1683877992937b1040baa621c4b216ed8405729 (diff)
downloadydb-b9b7aa7f3855cbc4d6cd032a89adbc25e680a4df.tar.gz
Restoring authorship annotation for <vegayours@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/xml')
-rw-r--r--library/cpp/xml/document/xml-document-decl.h10
-rw-r--r--library/cpp/xml/document/xml-document.cpp12
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 bfda1fb7e6..067fb8c1f6 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 18a554d732..74e20acd8f 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;