mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
skip graphics conversion when runparams.dryrun is true
This commit is contained in:
parent
275bb44158
commit
0cf394dd79
@ -947,7 +947,9 @@ string InsetGraphics::prepareHTMLFile(OutputParams const & runparams) const
|
|||||||
|
|
||||||
docstring InsetGraphics::xhtml(XHTMLStream & xs, OutputParams const & op) 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()) {
|
if (output_file.empty()) {
|
||||||
LYXERR0("InsetGraphics::xhtml: Unable to prepare file `"
|
LYXERR0("InsetGraphics::xhtml: Unable to prepare file `"
|
||||||
|
Loading…
Reference in New Issue
Block a user