From 22cbef9c75aeb58d6c88c9b736526cb9d52a52a2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Mon, 28 Apr 2014 20:03:06 +0200 Subject: Adapted read-directory tree construction to match the other functions * throwing std::out_of_range exception from DomDocumentCache::get instead of returning nullptr in case of a problem * moved xalanToString method back into FilesystemContext compilation unit as is only needed there --- src/support/utility.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/support/utility.h (limited to 'src/support/utility.h') diff --git a/src/support/utility.h b/src/support/utility.h deleted file mode 100644 index 4c63c72..0000000 --- a/src/support/utility.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef INPUTXSLT_SRC_SUPPORT_UTILITY_H_ -#define INPUTXSLT_SRC_SUPPORT_UTILITY_H_ - -namespace { - -inline std::string xalanToString(const xalan::XalanDOMString& text) { - xalan::CharVectorType castHelper; - text.transcode(castHelper); - - return std::string( - castHelper.begin(), - castHelper.end() - 1 - ); -} - -} - -#endif // INPUTXSLT_SRC_SUPPORT_UTILITY_H_ -- cgit v1.2.3