diff options
author | Justin Luth <justin_luth@sil.org> | 2016-12-06 19:20:51 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2016-12-07 04:56:03 +0000 |
commit | b71c09a31c245f2fc1e1ff3760206bb121869633 (patch) | |
tree | 2991b529a2e233b1de93d85538dd2546a3af854d /writerfilter | |
parent | starmath: Add unit test for importing MathML's mathcolor (diff) | |
download | core-b71c09a31c245f2fc1e1ff3760206bb121869633.tar.gz core-b71c09a31c245f2fc1e1ff3760206bb121869633.zip |
tdf#104420 writerfilter: no dummy para in headers
Change-Id: I22bf2d85e01ce5a084babdc07a11ada0790f4933
Reviewed-on: https://gerrit.libreoffice.org/31710
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 439ecf2abb14..929671ac3df5 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -2547,7 +2547,8 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, const PropertyMapPtr& rContext ) * and remove it again when lcl_endSectionGroup is called */ if(m_pImpl->m_nTableDepth == 0 && m_pImpl->GetIsFirstParagraphInSection() - && !m_pImpl->GetIsDummyParaAddedForTableInSection() && !m_pImpl->GetIsTextFrameInserted()) + && !m_pImpl->GetIsDummyParaAddedForTableInSection() && !m_pImpl->GetIsTextFrameInserted() + && !IsInHeaderFooter()) { m_pImpl->AddDummyParaForTableInSection(); } |