diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2022-12-28 23:52:10 +0300 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-12-29 22:39:55 +0000 |
commit | d5a9722874871576b864feb7bd815f9f8bfaac48 (patch) | |
tree | 80ef8068f32f5558a284fc9055167cf6d0761977 /officecfg/registry | |
parent | 37723413115baafdc7d13ad26d11aa5f917c2036 (diff) |
ms format import: better handling for invalid styles
If referred paragraph style is not found or it is not a paragraph
style, this can lead to exceptions in writer core and thus current
paragraph can be not corretly initialized. For example, numbering
can be not applied because of exception of not found style earlier.
This is not a critical error, we should just not apply a style
we could not resolve.
Of course such documents are invalid but bit more tolerance to errors
will not harm.
Change-Id: I9150786e6357a7d6098440bac29ec501fc6aa802
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144852
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'officecfg/registry')
0 files changed, 0 insertions, 0 deletions