diff options
author | Justin Luth <justin_luth@sil.org> | 2021-09-02 09:40:56 +0200 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2021-09-03 08:30:19 +0200 |
commit | 1a6530787579fe466a67a98ef1f1a2087715a1b2 (patch) | |
tree | 477212ff17d9e5f92267bef1bafc881f32af9f3e /writerfilter | |
parent | a01c60927c3cedf775d3ba66d3602988c274fb09 (diff) |
related tdf#137363: no NUMBERING_LEVEL 9(no-level) in para
Remove the (fake) 9 from the direct paragraph formatting.
Otherwise when numbering is applied it will start at level
10 instead of the proper level (as defined by the style).
Change-Id: I26fdff36e4f3d3449a259918a7c57a76bae7d486
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121503
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 44c9115a51e2..c21c9a282bf5 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -1600,7 +1600,10 @@ void DomainMapper_Impl::finishParagraph( const PropertyMapPtr& pPropertyMap, con { // ListLevel 9 means Body Level/no numbering. if (bNoNumbering || nListLevel == 9) + { pParaContext->Insert(PROP_NUMBERING_STYLE_NAME, uno::makeAny(OUString()), true); + pParaContext->Erase(PROP_NUMBERING_LEVEL); + } else if ( !isNumberingViaRule ) { isNumberingViaStyle = true; |