diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-05-02 17:50:55 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-09 11:55:02 +0200 |
commit | 34d7dc5145013900ac0f7f31f92beb01c858461a (patch) | |
tree | 4fda5881688a3527a7f0cebd19110af3f36ad0b9 | |
parent | 4112bb446659d7b60b17202e3f1e40ad1ea3d6a6 (diff) |
fdo#47764 fix RTF import of automatic paragraph background color
Change-Id: I4b3a4bd6ce45cffc5b2c23052c49ff98579c5564
Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index d65b642ad83a..f36e76391f7e 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -2373,6 +2373,7 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam) } break; case RTF_CBPAT: + if (nParam) { RTFValue::Pointer_t pValue(new RTFValue(getColorTable(nParam))); lcl_putNestedAttribute(m_aStates.top().aParagraphSprms, NS_sprm::LN_PShd, NS_ooxml::LN_CT_Shd_fill, pValue); |