From 774bee47ed685bd666173cb4d1664933217371c9 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Wed, 20 Feb 2019 10:50:38 +0100 Subject: Give more descriptive names to document file related variables and functions. Makes searching through code for them easier. --- src/actions/actions-output.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actions/actions-output.cpp') 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); } -- cgit v1.2.3