aboutsummaryrefslogtreecommitdiff
path: root/src/support/filesystem_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/filesystem_context.cc')
-rw-r--r--src/support/filesystem_context.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/support/filesystem_context.cc b/src/support/filesystem_context.cc
index eba7e45..a18ec43 100644
--- a/src/support/filesystem_context.cc
+++ b/src/support/filesystem_context.cc
@@ -8,11 +8,9 @@
namespace InputXSLT {
-FilesystemContext::FilesystemContext(const xalan::Locator* locator):
+FilesystemContext::FilesystemContext(const boost::filesystem::path& path):
path_(boost::filesystem::canonical(
- boost::filesystem::path(
- *XercesStringGuard<char>(locator->getSystemId()) + 7
- ).parent_path().string()
+ path.parent_path()
)) { }
FilesystemContext::FilesystemContext(const std::string& path):