diff options
author | Justin Luth <justin_luth@sil.org> | 2019-02-19 09:36:03 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-20 09:10:53 +0100 |
commit | 1a01b2f7ef83a0c73a52eefaed4a37a2c0812dda (patch) | |
tree | ab3a4e257dce6107bf99432602d603e49c4e90a7 /sw/source/filter/ww8/ww8par6.cxx | |
parent | 8d0e91794c23c32cb387980aa9bda9d6ea943cbd (diff) |
tdf#123433 ww8import: end same attribute as what started
This resolves the regression from the bugfix for tdf#116071 from
commit 3539a1efb41a787237e4333ebc715db96ffacb5b
Change-Id: I59929401d84e3ad201bffc8aa9b50057ac716e71
Reviewed-on: https://gerrit.libreoffice.org/68011
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/filter/ww8/ww8par6.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par6.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index deae6c38a6e2..6cced653b857 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -4867,7 +4867,8 @@ void SwWW8ImplReader::Read_Shade( sal_uInt16, const sal_uInt8* pData, short nLen if (nLen < 2) { // end of attribute - m_xCtrlStck->SetAttr( *m_pPaM->GetPoint(), RES_BACKGROUND ); + m_xCtrlStck->SetAttr( *m_pPaM->GetPoint(), XATTR_FILLSTYLE ); + m_xCtrlStck->SetAttr( *m_pPaM->GetPoint(), XATTR_FILLCOLOR ); } else { @@ -4885,7 +4886,8 @@ void SwWW8ImplReader::Read_ParaBackColor(sal_uInt16, const sal_uInt8* pData, sho if (nLen <= 0) { // end of attribute - m_xCtrlStck->SetAttr( *m_pPaM->GetPoint(), RES_BACKGROUND ); + m_xCtrlStck->SetAttr( *m_pPaM->GetPoint(), XATTR_FILLSTYLE ); + m_xCtrlStck->SetAttr( *m_pPaM->GetPoint(), XATTR_FILLCOLOR ); } else { |