mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Move dummy bool a bit closer to context
This commit is contained in:
parent
4a13a29042
commit
7b6bb23b87
@ -2625,7 +2625,6 @@ void Paragraph::latex(BufferParams const & bparams,
|
||||
os << "}";
|
||||
alien_script.clear();
|
||||
}
|
||||
bool needPar = false;
|
||||
if (in_ct_deletion) {
|
||||
// We have to close and then reopen \lyxdeleted,
|
||||
// as strikeout needs to be on lowest level.
|
||||
@ -2636,6 +2635,7 @@ void Paragraph::latex(BufferParams const & bparams,
|
||||
// Force language closing
|
||||
current_font.setLanguage(basefont.language());
|
||||
Font const nextfont = (i == body_pos-1) ? basefont : current_font;
|
||||
bool needPar = false;
|
||||
column += running_font.latexWriteEndChanges(
|
||||
os, bparams, runparams, basefont,
|
||||
nextfont, needPar);
|
||||
@ -2703,8 +2703,8 @@ void Paragraph::latex(BufferParams const & bparams,
|
||||
if (in_ct_deletion) {
|
||||
// We have to close and then reopen \lyxdeleted,
|
||||
// as strikeout needs to be on lowest level.
|
||||
bool needPar = false;
|
||||
OutputParams rp = runparams;
|
||||
bool needPar = false;
|
||||
column += running_font.latexWriteEndChanges(
|
||||
os, bparams, rp, basefont,
|
||||
basefont, needPar);
|
||||
|
Loading…
Reference in New Issue
Block a user