summaryrefslogtreecommitdiffstats
path: root/src/actions
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/actions
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/actions')
-rw-r--r--src/actions/actions-output.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/actions-output.cpp b/src/actions/actions-output.cpp
index f10781890..96523f624 100644
--- a/src/actions/actions-output.cpp
+++ b/src/actions/actions-output.cpp
@@ -204,8 +204,8 @@ export_do(InkscapeApplication *app)
{
SPDocument* document = app->get_active_document();
std::string filename;
- if (document->getURI()) {
- filename = document->getURI();
+ if (document->getDocumentURI()) {
+ filename = document->getDocumentURI();
}
app->file_export()->do_export(document, filename);
}