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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function/read_file.cc b/src/function/read_file.cc
index bbc8315..8216034 100644
--- a/src/function/read_file.cc
+++ b/src/function/read_file.cc
@@ -21,7 +21,7 @@ boost::optional<xercesc::DOMNode*> readXmlFile(
xercesc::DOMDocument* const domDocument
) {
const xercesc::LocalFileInputSource file(
- *InputXSLT::XercesStringGuard<XMLCh>(filePath.string().data())
+ *InputXSLT::XercesStringGuard<XMLCh>(filePath.string())
);
xercesc::XercesDOMParser parser;
@@ -79,7 +79,7 @@ DomDocumentCache::document_ptr FunctionReadFile::constructDocument(
if ( auto importedNode = readXmlFile(
filePath,
- domDocument.get())
+ domDocument.get())
) {
result.setContent(*importedNode);