diff options
author | Justin Luth <justin_luth@sil.org> | 2020-10-14 14:49:55 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2020-10-14 20:20:39 +0200 |
commit | 1df6cc318b2559408cf08d7bd43c0298048f9ff7 (patch) | |
tree | 73dd2b9f22f6b150811df3e65089be7c3e72aef6 /writerfilter | |
parent | 8ed2f358cc2a668600e602cb0515ff6af16c2824 (diff) |
related tdf#108944 writerfilter: fix another missing ftn separator
A comment can also cause a missing footnote separator.
Found by doing a code read.
Change-Id: I42296f2e9406ad144c6e45873fac0f2cb8d11839
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104282
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/PropertyMap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx index 60dbe6c4cc4f..21a8593178a1 100644 --- a/writerfilter/source/dmapper/PropertyMap.cxx +++ b/writerfilter/source/dmapper/PropertyMap.cxx @@ -1896,7 +1896,7 @@ void SectionPropertyMap::CloseSectionGroup( DomainMapper_Impl& rDM_Impl ) rDM_Impl.SetIsLastSectionGroup( false ); rDM_Impl.SetIsFirstParagraphInSection( true ); - if ( !rDM_Impl.IsInFootOrEndnote() ) + if ( !rDM_Impl.IsInFootOrEndnote() && !rDM_Impl.IsInComments() ) { rDM_Impl.m_bHasFtn = false; rDM_Impl.m_bHasFtnSep = false; |