diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-02-07 12:38:46 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-02-07 12:38:46 +0000 |
| commit | f11d3869c683c6aeb40ca7ff84d3a721f8e86ba2 (patch) | |
| tree | 580c6305b298de0f824f7c6bb55c3a1007467a29 /src | |
| parent | Prevent attempt to initialize/compare std::string with/to null pointer. (diff) | |
| download | inkscape-f11d3869c683c6aeb40ca7ff84d3a721f8e86ba2.tar.gz inkscape-f11d3869c683c6aeb40ca7ff84d3a721f8e86ba2.zip | |
Slightly improved fix to previous check-in.
(bzr r13005)
Diffstat (limited to 'src')
| -rw-r--r-- | src/uri-references.cpp | 2 |
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); |
