skip graphics conversion when runparams.dryrun is true

This commit is contained in:
Tommaso Cucinotta 2017-05-04 07:49:07 +02:00
parent 275bb44158
commit 0cf394dd79

View File

@ -947,7 +947,9 @@ string InsetGraphics::prepareHTMLFile(OutputParams const & runparams) const
docstring InsetGraphics::xhtml(XHTMLStream & xs, OutputParams const & op) const
{
string const output_file = prepareHTMLFile(op);
string const output_file;
if (!op.dryrun)
prepareHTMLFile(op);
if (output_file.empty()) {
LYXERR0("InsetGraphics::xhtml: Unable to prepare file `"