aboutsummaryrefslogtreecommitdiff
path: root/src/support/utility.h
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-04-28 20:03:06 +0200
committerAdrian Kummerländer2014-04-28 20:03:06 +0200
commit22cbef9c75aeb58d6c88c9b736526cb9d52a52a2 (patch)
treebc0ac83d1ec0186b43aef7d574dba044e9ff7e9c /src/support/utility.h
parent947a8389728ff7d052fa820f598da3c17802f3d1 (diff)
downloadInputXSLT-22cbef9c75aeb58d6c88c9b736526cb9d52a52a2.tar
InputXSLT-22cbef9c75aeb58d6c88c9b736526cb9d52a52a2.tar.gz
InputXSLT-22cbef9c75aeb58d6c88c9b736526cb9d52a52a2.tar.bz2
InputXSLT-22cbef9c75aeb58d6c88c9b736526cb9d52a52a2.tar.lz
InputXSLT-22cbef9c75aeb58d6c88c9b736526cb9d52a52a2.tar.xz
InputXSLT-22cbef9c75aeb58d6c88c9b736526cb9d52a52a2.tar.zst
InputXSLT-22cbef9c75aeb58d6c88c9b736526cb9d52a52a2.zip
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
Diffstat (limited to 'src/support/utility.h')
-rw-r--r--src/support/utility.h18
1 files changed, 0 insertions, 18 deletions
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_