diff options
author | Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu> | 2023-04-06 13:34:42 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2023-04-13 17:18:58 +0200 |
commit | 94de79e7d3c980b576192d2f264bee658716163a (patch) | |
tree | 3f56f791878056be024f4578388ba49c29ca194d /configmgr/source/setnode.hxx | |
parent | 52aa46468531918eabfa2031dedf50377ae72cf7 (diff) |
tdf#154481 sw DOCX import: fix page loss and freezing at ODT export
Disable TOC creation in case when field context stack
is empty but TOC creation is in progress in textboxes.
Before if TOC creation failed because it is already
existed, the TOC creation member (mbStartTOC) kept
true resulting in broken textbox handling.
Textbox and TOC import use the same text append
stack but the TOC was not removed from the stack
so content have been written into the TOC instead
of the textbox, resulting page loss, and because
of the broken structure, freezing at further ODT export.
Change-Id: If27aa477c49f276d4e538b6e125798d89f0ac423
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150099
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'configmgr/source/setnode.hxx')
0 files changed, 0 insertions, 0 deletions