mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
Fix up 0cf394dd
This commit is contained in:
parent
71f532db4b
commit
8ae652eb16
@ -947,11 +947,9 @@ string InsetGraphics::prepareHTMLFile(OutputParams const & runparams) const
|
||||
|
||||
docstring InsetGraphics::xhtml(XHTMLStream & xs, OutputParams const & op) const
|
||||
{
|
||||
string const output_file;
|
||||
if (!op.dryrun)
|
||||
prepareHTMLFile(op);
|
||||
string const output_file = op.dryrun ? string() : prepareHTMLFile(op);
|
||||
|
||||
if (output_file.empty()) {
|
||||
if (output_file.empty() && !op.dryrun) {
|
||||
LYXERR0("InsetGraphics::xhtml: Unable to prepare file `"
|
||||
<< params().filename << "' for output. File missing?");
|
||||
string const attr = "src='" + params().filename.absFileName()
|
||||
|
Loading…
Reference in New Issue
Block a user