diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-02-28 20:14:12 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-03 13:53:22 +0100 |
commit | 74b3f4f00766d199df3b017d056cf7a00ae52988 (patch) | |
tree | 8b33be252adbd380ff9d57415acac537255ef63b /writerfilter | |
parent | f03218f43e8c25c2e136d364455f3cdaf95362b6 (diff) |
RTF import: fix paragraphs in header/footer
Change-Id: I91f04cad7a39428ce6f9555d18b974f0d45181f7
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 38d427fb6ae3..746420228fbf 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -424,8 +424,9 @@ void RTFDocumentImpl::setNeedSect(bool bNeedSect) if (!m_pSuperstream) // no sections in header/footer! { Mapper().startSectionGroup(); - m_bNeedSect = bNeedSect; } + // set flag in substream too - otherwise multiple startParagraphGroup + m_bNeedSect = bNeedSect; Mapper().startParagraphGroup(); setNeedPar(true); } |