diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-05-02 17:50:55 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-05-02 18:10:58 +0200 |
commit | e8706d7a110547c04e6db9ed75b2e7f74bd6d0bd (patch) | |
tree | 8dc7ce2737d154f40aeb8ec10788dfaa04cdabc0 /writerfilter | |
parent | finish handling of w:pStyle in numbering (bnc#751028) (diff) | |
download | core-e8706d7a110547c04e6db9ed75b2e7f74bd6d0bd.tar.gz core-e8706d7a110547c04e6db9ed75b2e7f74bd6d0bd.zip |
fdo#47764 fix RTF import of automatic paragraph background color
Change-Id: I4b3a4bd6ce45cffc5b2c23052c49ff98579c5564
Diffstat (limited to 'writerfilter')
-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 0e1a53faef3e..9bbbcb0c151d 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -2331,6 +2331,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); |