mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
When converting, indicate clearly when buffer should exist
This makes coverity happy, and makes out code a tiny tiny bit better commented.
This commit is contained in:
parent
9b0b45dc81
commit
0005876d17
@ -463,6 +463,7 @@ bool Converters::convert(Buffer const * buffer,
|
||||
return false;
|
||||
|
||||
if (conv.latex()) {
|
||||
// We are not importing, we have a buffer
|
||||
LATTEST(buffer);
|
||||
run_latex = true;
|
||||
string command = conv.command();
|
||||
@ -474,6 +475,8 @@ bool Converters::convert(Buffer const * buffer,
|
||||
return false;
|
||||
} else {
|
||||
if (conv.need_aux() && !run_latex) {
|
||||
// We are not importing, we have a buffer
|
||||
LATTEST(buffer);
|
||||
string command;
|
||||
switch (runparams.flavor) {
|
||||
case OutputParams::DVILUATEX:
|
||||
|
Loading…
Reference in New Issue
Block a user