mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
Rename deleteFilesOnError to removeAuxiliaryFiles
The function is no longer called when there is an error because
we keep the file around for the "Show Output Anyway" button
(see 09700d5b
).
This commit is contained in:
parent
d9546de0bd
commit
a1aeea3f16
@ -108,7 +108,7 @@ LaTeX::LaTeX(string const & latex, OutputParams const & rp,
|
||||
}
|
||||
|
||||
|
||||
void LaTeX::deleteFilesOnError() const
|
||||
void LaTeX::removeAuxiliaryFiles() const
|
||||
{
|
||||
// Note that we do not always call this function when there is an error.
|
||||
// For example, if there is an error but an output file is produced we
|
||||
@ -413,7 +413,7 @@ int LaTeX::run(TeXErrors & terr)
|
||||
// incorrect PDF is not displayed, which could otherwise
|
||||
// happen if View is run again because the checksum will
|
||||
// be the same so any lingering PDF will be viewed.
|
||||
deleteFilesOnError();
|
||||
removeAuxiliaryFiles();
|
||||
}
|
||||
|
||||
if (exit_code)
|
||||
|
@ -209,7 +209,7 @@ private:
|
||||
OutputParams const &);
|
||||
|
||||
///
|
||||
void deleteFilesOnError() const;
|
||||
void removeAuxiliaryFiles() const;
|
||||
|
||||
///
|
||||
std::string cmd;
|
||||
|
Loading…
Reference in New Issue
Block a user