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/ui/dialog/print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/dialog/print.cpp') diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index 65f1297d5..8d1606a19 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -46,7 +46,7 @@ Print::Print(SPDocument *doc, SPItem *base) : _printop = Gtk::PrintOperation::create(); // set up dialog title, based on document name - const Glib::ustring jobname = _doc->getName() ? _doc->getName() : _("SVG Document"); + const Glib::ustring jobname = _doc->getDocumentName() ? _doc->getDocumentName() : _("SVG Document"); Glib::ustring title = _("Print"); title += " "; title += jobname; -- cgit v1.2.3