aboutsummaryrefslogtreecommitdiff
path: root/src/function/write_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/function/write_file.cc')
-rw-r--r--src/function/write_file.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/function/write_file.cc b/src/function/write_file.cc
index 872160b..0ad68bf 100644
--- a/src/function/write_file.cc
+++ b/src/function/write_file.cc
@@ -65,11 +65,7 @@ DomDocumentCache::document_ptr FunctionWriteFile::constructDocument(
DomDocumentCache::createDocument()
);
- xercesc::DOMNode* const rootNode(
- domDocument->getDocumentElement()
- );
-
- ResultNodeFacade result(domDocument.get(), rootNode, "file");
+ ResultNodeFacade result(domDocument.get(), "file");
result.setAttribute("path", filePath.string());
if ( contentNode != nullptr ) {