From e83bbb457c98a0b77ca04e2832d7d0601912acd7 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Fri, 9 May 2014 20:24:12 +0200 Subject: Marked DomDocumentCache::item class as private * as the xerces document is not instantiated by DomDocumentCache::item and the class only exports a pointer to the converted xalan document, it makes no sense to expose the class to the outside in the first place --- src/function/base.h | 3 +-- src/function/read_directory.h | 2 +- src/function/read_file.h | 2 +- src/function/read_xml_file.h | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/function') diff --git a/src/function/base.h b/src/function/base.h index 231800d..c5346c7 100644 --- a/src/function/base.h +++ b/src/function/base.h @@ -53,8 +53,7 @@ class FunctionBase : public xalan::Function { ); nodeList->addNodes( - *optionalCachedDocument.second->getXalanDocument() - ->getDocumentElement() + *optionalCachedDocument.second->getDocumentElement() ->getChildNodes() ); diff --git a/src/function/read_directory.h b/src/function/read_directory.h index 85e7f1b..b050ff8 100644 --- a/src/function/read_directory.h +++ b/src/function/read_directory.h @@ -7,7 +7,7 @@ namespace InputXSLT { class FunctionReadDirectory : public FunctionBase { public: - using FunctionBase::FunctionBase; + using FunctionBase::FunctionBase; protected: friend FunctionBase; diff --git a/src/function/read_file.h b/src/function/read_file.h index b581ee5..90139f4 100644 --- a/src/function/read_file.h +++ b/src/function/read_file.h @@ -7,7 +7,7 @@ namespace InputXSLT { class FunctionReadFile : public FunctionBase { public: - using FunctionBase::FunctionBase; + using FunctionBase::FunctionBase; protected: friend FunctionBase; diff --git a/src/function/read_xml_file.h b/src/function/read_xml_file.h index 4aebe56..3636d18 100644 --- a/src/function/read_xml_file.h +++ b/src/function/read_xml_file.h @@ -7,7 +7,7 @@ namespace InputXSLT { class FunctionReadXmlFile : public FunctionBase { public: - using FunctionBase::FunctionBase; + using FunctionBase::FunctionBase; protected: friend FunctionBase; -- cgit v1.2.3