mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fix crash
This commit is contained in:
parent
6ed3eb6833
commit
38ca174819
@ -1639,7 +1639,7 @@ void latexParagraphs(Buffer const & buf,
|
||||
|
||||
// Do not output empty environments if the whole paragraph has
|
||||
// been deleted with ct and changes are not output.
|
||||
if (pit < runparams.par_end) {
|
||||
if (size_t(pit + 1) < paragraphs.size()) {
|
||||
ParagraphList::const_iterator nextpar = paragraphs.constIterator(pit + 1);
|
||||
Paragraph const & cpar = paragraphs.at(pit);
|
||||
if ((par->layout() != nextpar->layout()
|
||||
|
Loading…
Reference in New Issue
Block a user