From f11d3869c683c6aeb40ca7ff84d3a721f8e86ba2 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Fri, 7 Feb 2014 13:38:46 +0100 Subject: Slightly improved fix to previous check-in. (bzr r13005) --- src/uri-references.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/uri-references.cpp') diff --git a/src/uri-references.cpp b/src/uri-references.cpp index de293716b..ea8078b28 100644 --- a/src/uri-references.cpp +++ b/src/uri-references.cpp @@ -58,7 +58,7 @@ void URIReference::attach(const URI &uri) throw(BadURIException) // The path contains references to seperate document files to load. if(document && uri.getPath()) { - std::string base = std::string(document->getBase() ? document->getBase() : ""); + std::string base = document->getBase() ? document->getBase() : ""; std::string path = uri.getFullPath(base); if(!path.empty()) document = document->createChildDoc(path); -- cgit v1.2.3