From fb79552ae04649a4a381bc9f2d92ea77690f8b37 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Wed, 11 Sep 2019 20:54:51 -0400 Subject: [PATCH] Minor renaming for clarity. --- src/Buffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 4f770f18a4..18fc0d3a3b 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -4638,7 +4638,7 @@ Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir result_file = dest_filename; // We need to copy referenced files (e. g. included graphics // if format == "dvi") to the result dir. - vector const files = + vector const extfiles = runparams.exportdata->externalFiles(format); string const dest = runparams.export_folder.empty() ? onlyPath(result_file) : runparams.export_folder; @@ -4646,7 +4646,7 @@ Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir : force_overwrite == ALL_FILES; CopyStatus status = use_force ? FORCE : SUCCESS; - for (ExportedFile const & exp : files) { + for (ExportedFile const & exp : extfiles) { if (status == CANCEL) { message(_("Document export cancelled.")); return ExportCancel;