diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-10-17 11:17:14 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-10-17 12:03:08 +0200 |
commit | 6fc868c6535932bedfa0fc51d8dd5a1814d73ee8 (patch) | |
tree | 5c4bfa68546686d18fa066a447804bc0956b18ba /writerfilter | |
parent | exchange sort settings between the two tab pages, fdo#53482 (diff) | |
download | core-6fc868c6535932bedfa0fc51d8dd5a1814d73ee8.tar.gz core-6fc868c6535932bedfa0fc51d8dd5a1814d73ee8.zip |
fix import of RTF_PARD inside RTF_SHPTXT
Change-Id: Id722b61cec9b8ae6550122e192affecadfcb1217
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 d0d0b7f893b1..b6a1121ce4b4 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -2001,7 +2001,8 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword) m_aStates.top().aParagraphSprms = m_aDefaultState.aParagraphSprms; m_aStates.top().aParagraphAttributes = m_aDefaultState.aParagraphAttributes; m_aStates.top().resetFrame(); - m_pCurrentBuffer = 0; + if (m_aStates.top().nDestinationState != DESTINATION_SHAPETEXT) + m_pCurrentBuffer = 0; break; case RTF_SECTD: m_aStates.top().aSectionSprms = m_aDefaultState.aSectionSprms; |