diff options
author | Justin Luth <justin_luth@sil.org> | 2021-07-13 10:12:21 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-16 08:57:16 +0200 |
commit | fce76110e02409b67ad977ae0077adf55ca58065 (patch) | |
tree | 5521e452155e26543b8469a2111e80521e2c63b8 /cui/source/util | |
parent | b42fe2e2653775743d20f02356a73aa8e3c2696a (diff) |
tdf#82111 rtf import: ensure CR before section break
In other places, there were caveats for applying a CR
when inserting instead of importing, or when in a header,
but none of those seem to apply in this case.
A section cannot occur in a table, and anytime a
section occurs, it ought to finish off the paragraph.
So a simple clause seems good enough here.
There were basically two different existing unit tests
that match this condition, and neither of them
were currently mis-handled. I safely adapted one of them
to imitate the error condition I was addressing.
Change-Id: Ie8ccd3978276bf10321e0bf80141572f40102874
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118819
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cui/source/util')
0 files changed, 0 insertions, 0 deletions