diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-08-19 14:45:57 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-08-19 17:20:02 +0200 |
commit | 72d09b8a1c7a5fd6cf14517efba273c53aa87837 (patch) | |
tree | 5d66facd8e8532df9a855aa54443f85a4658334a /writerfilter | |
parent | handle sections containing no paragraphs (diff) | |
download | core-72d09b8a1c7a5fd6cf14517efba273c53aa87837.tar.gz core-72d09b8a1c7a5fd6cf14517efba273c53aa87837.zip |
paragraphs inside frames do not count
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 02f5d79a401b..da82ede585f3 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -1299,7 +1299,8 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword) // but don't emit properties yet, since they may change till the first text token arrives m_bNeedPap = true; m_bWasInFrame = inFrame(); - m_bNeedPar = false; + if (!m_bWasInFrame) + m_bNeedPar = false; } break; case RTF_SECT: |