]> git.lyx.org Git - features.git/commit
DocBook: fix a crash in docbookSimpleAllParagraphs.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 8 Oct 2023 19:11:17 +0000 (21:11 +0200)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 10 Oct 2023 13:57:17 +0000 (09:57 -0400)
commitd8a0f1aadda25e11e5a330e8c7cdd0d413ff55b4
tree82550c0c112d5ddb23d8bdf3742cffa8ec9bb6dc
parent43921861b9b14c2b4f5b2cef8e482a43776fc982
DocBook: fix a crash in docbookSimpleAllParagraphs.

When having the code preview pane open with examples/Language_Support/Mixing_Japanese_with_other_Languages_(with_CJKutf8), clicking at random on paragraphs sometimes yielded a crash: *par when par is the end of the iterator. LyX could output the whole document as DocBook without this patch and still generates the same output with it (i.e. no text is missing).
src/output_docbook.cpp