aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/XML/src/DocumentFragment.cpp
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/poco/XML/src/DocumentFragment.cpp
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/poco/XML/src/DocumentFragment.cpp')
-rw-r--r--contrib/libs/poco/XML/src/DocumentFragment.cpp140
1 files changed, 70 insertions, 70 deletions
diff --git a/contrib/libs/poco/XML/src/DocumentFragment.cpp b/contrib/libs/poco/XML/src/DocumentFragment.cpp
index 462be5292e..4d73f25d5c 100644
--- a/contrib/libs/poco/XML/src/DocumentFragment.cpp
+++ b/contrib/libs/poco/XML/src/DocumentFragment.cpp
@@ -1,70 +1,70 @@
-//
-// DocumentFragment.cpp
-//
-// Library: XML
-// Package: DOM
-// Module: DOM
-//
-// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
-// and Contributors.
-//
-// SPDX-License-Identifier: BSL-1.0
-//
-
-
-#include "Poco/DOM/DocumentFragment.h"
-
-
-namespace Poco {
-namespace XML {
-
-
-const XMLString DocumentFragment::NODE_NAME = toXMLString("#document-fragment");
-
-
-DocumentFragment::DocumentFragment(Document* pOwnerDocument):
- AbstractContainerNode(pOwnerDocument)
-{
-}
-
-
-DocumentFragment::DocumentFragment( Document* pOwnerDocument, const DocumentFragment& fragment):
- AbstractContainerNode(pOwnerDocument, fragment)
-{
-}
-
-
-DocumentFragment::~DocumentFragment()
-{
-}
-
-
-const XMLString& DocumentFragment::nodeName() const
-{
- return NODE_NAME;
-}
-
-
-unsigned short DocumentFragment::nodeType() const
-{
- return Node::DOCUMENT_FRAGMENT_NODE;
-}
-
-
-Node* DocumentFragment::copyNode(bool deep, Document* pOwnerDocument) const
-{
- DocumentFragment* pClone = new DocumentFragment(pOwnerDocument, *this);
- if (deep)
- {
- Node* pCur = firstChild();
- while (pCur)
- {
- pClone->appendChild(static_cast<AbstractNode*>(pCur)->copyNode(deep, pOwnerDocument))->release();
- pCur = pCur->nextSibling();
- }
- }
- return pClone;
-}
-
-
-} } // namespace Poco::XML
+//
+// DocumentFragment.cpp
+//
+// Library: XML
+// Package: DOM
+// Module: DOM
+//
+// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
+// and Contributors.
+//
+// SPDX-License-Identifier: BSL-1.0
+//
+
+
+#include "Poco/DOM/DocumentFragment.h"
+
+
+namespace Poco {
+namespace XML {
+
+
+const XMLString DocumentFragment::NODE_NAME = toXMLString("#document-fragment");
+
+
+DocumentFragment::DocumentFragment(Document* pOwnerDocument):
+ AbstractContainerNode(pOwnerDocument)
+{
+}
+
+
+DocumentFragment::DocumentFragment( Document* pOwnerDocument, const DocumentFragment& fragment):
+ AbstractContainerNode(pOwnerDocument, fragment)
+{
+}
+
+
+DocumentFragment::~DocumentFragment()
+{
+}
+
+
+const XMLString& DocumentFragment::nodeName() const
+{
+ return NODE_NAME;
+}
+
+
+unsigned short DocumentFragment::nodeType() const
+{
+ return Node::DOCUMENT_FRAGMENT_NODE;
+}
+
+
+Node* DocumentFragment::copyNode(bool deep, Document* pOwnerDocument) const
+{
+ DocumentFragment* pClone = new DocumentFragment(pOwnerDocument, *this);
+ if (deep)
+ {
+ Node* pCur = firstChild();
+ while (pCur)
+ {
+ pClone->appendChild(static_cast<AbstractNode*>(pCur)->copyNode(deep, pOwnerDocument))->release();
+ pCur = pCur->nextSibling();
+ }
+ }
+ return pClone;
+}
+
+
+} } // namespace Poco::XML