diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-02-28 20:14:12 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@centrum.cz> | 2014-05-28 12:01:10 +0200 |
commit | 65ef769a60df0aad2dea9811713faa323757f0b2 (patch) | |
tree | 92e114cbcad71c859d55165ac0fbac97a1d9e208 /writerfilter | |
parent | 40506e46ca01f812209331d60af859666bb1f931 (diff) |
RTF import: fix paragraphs in header/footercp-4.1-8
(cherry picked from commit 74b3f4f00766d199df3b017d056cf7a00ae52988)
Signed-off-by: Luboš Luňák <l.lunak@centrum.cz>
Conflicts:
sw/qa/extras/rtfimport/rtfimport.cxx
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 3f6ebc73c5fd..8011bc791dfa 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -401,8 +401,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); } |