diff options
author | Justin Luth <justin_luth@sil.org> | 2021-06-23 09:21:32 +0200 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2021-06-24 19:21:24 +0200 |
commit | 8bfa14e831f31f372b98d7283fa4abc73bcb5532 (patch) | |
tree | bbc3223c39f32d5eb234c0daf6f198062aa60f1c /sysui | |
parent | f446a203fa2897bab8ae7686c948a8bf060675c6 (diff) |
tdf#104239 doc import: accept outlineLvl0 == (listLvl = MAXLEVEL)
If listLvl is undefined, it is treated as level 0,
so when testing that outlineLvl is equal to listLvl,
then consider MAXLEVEL to be equivalent to zero.
The opposite is not true. An undefined outlineLvl
is not considered to be level 0.
This doesn't fix bug 104239, but it is one step
in the right direction.
Two unit tests followed this path,
(transparent-text.doc and tdf80635_pageLeft.doc)
but neither one sets a numbering style,
so they don't make good unit tests.
Change-Id: I62cd7f5500fcd6dc06327900c33f12c129610a04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117745
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sysui')
0 files changed, 0 insertions, 0 deletions