diff options
author | Justin Luth <justin_luth@sil.org> | 2021-01-15 20:32:43 +0300 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-01-18 11:18:35 +0100 |
commit | fea7b531a4c9e8326a644cccc26325b16585675a (patch) | |
tree | 7f73bba64fd47dc4645ac487bbef30d8aa8df5a9 /tools | |
parent | 96bf396ef283822c94c233510c67f0ac58d3827e (diff) |
tdf#136704 sw autofmt: prevent crash if no nextNode
The second GetNextNode() was a nullptr
that was being dereferenced.
Now, when enter is pressed after some text followed by a colon,
that line is made into a heading3, and the new blank line is
properly using the text body paragraph style.
Change-Id: If10dc85e490ac57fc150b3d541f5033dfd5293bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109413
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions