summaryrefslogtreecommitdiffstats
path: root/src/uri-references.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-02-07 12:38:46 +0000
committertavmjong-free <tavmjong@free.fr>2014-02-07 12:38:46 +0000
commitf11d3869c683c6aeb40ca7ff84d3a721f8e86ba2 (patch)
tree580c6305b298de0f824f7c6bb55c3a1007467a29 /src/uri-references.cpp
parentPrevent attempt to initialize/compare std::string with/to null pointer. (diff)
downloadinkscape-f11d3869c683c6aeb40ca7ff84d3a721f8e86ba2.tar.gz
inkscape-f11d3869c683c6aeb40ca7ff84d3a721f8e86ba2.zip
Slightly improved fix to previous check-in.
(bzr r13005)
Diffstat (limited to 'src/uri-references.cpp')
-rw-r--r--src/uri-references.cpp2
1 files changed, 1 insertions, 1 deletions
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);