aboutsummaryrefslogtreecommitdiff
path: root/src/function/read_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/function/read_file.cc')
-rw-r--r--src/function/read_file.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/function/read_file.cc b/src/function/read_file.cc
index cb1e57f..dcd32b7 100644
--- a/src/function/read_file.cc
+++ b/src/function/read_file.cc
@@ -65,11 +65,7 @@ DomDocumentCache::document_ptr FunctionReadFile::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 ( boost::filesystem::is_regular_file(filePath) ) {