mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +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;
|
return false;
|
||||||
|
|
||||||
if (conv.latex()) {
|
if (conv.latex()) {
|
||||||
|
// We are not importing, we have a buffer
|
||||||
LATTEST(buffer);
|
LATTEST(buffer);
|
||||||
run_latex = true;
|
run_latex = true;
|
||||||
string command = conv.command();
|
string command = conv.command();
|
||||||
@ -474,6 +475,8 @@ bool Converters::convert(Buffer const * buffer,
|
|||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
if (conv.need_aux() && !run_latex) {
|
if (conv.need_aux() && !run_latex) {
|
||||||
|
// We are not importing, we have a buffer
|
||||||
|
LATTEST(buffer);
|
||||||
string command;
|
string command;
|
||||||
switch (runparams.flavor) {
|
switch (runparams.flavor) {
|
||||||
case OutputParams::DVILUATEX:
|
case OutputParams::DVILUATEX:
|
||||||
|
Loading…
Reference in New Issue
Block a user