summaryrefslogtreecommitdiffstats
path: root/src/object/uri-references.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-02-20 09:50:38 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-02-20 09:50:38 +0000
commit774bee47ed685bd666173cb4d1664933217371c9 (patch)
tree077955bb8b312b64b308fbd2ab1a32ee5989f605 /src/object/uri-references.cpp
parentFix Window centering LPEDialog (diff)
downloadinkscape-774bee47ed685bd666173cb4d1664933217371c9.tar.gz
inkscape-774bee47ed685bd666173cb4d1664933217371c9.zip
Give more descriptive names to document file related variables and functions.
Makes searching through code for them easier.
Diffstat (limited to 'src/object/uri-references.cpp')
-rw-r--r--src/object/uri-references.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/uri-references.cpp b/src/object/uri-references.cpp
index 69ed140e0..d3550d940 100644
--- a/src/object/uri-references.cpp
+++ b/src/object/uri-references.cpp
@@ -130,7 +130,7 @@ void URIReference::attach(const URI &uri)
// The path contains references to separate document files to load.
if (document && uri.getPath() && !skip) {
- char const *base = document->getBase();
+ char const *base = document->getDocumentBase();
auto absuri = URI::from_href_and_basedir(uri.str().c_str(), base);
std::string path;