summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJian Hong Cheng <chengjh@apache.org>2012-08-31 10:07:04 +0000
committerJian Hong Cheng <chengjh@apache.org>2012-08-31 10:07:04 +0000
commit513bfe206105974552c2b93fbe9dc8be854375e0 (patch)
treec7dc94f6768bfaa307aa1ea06c520756a5b6db14 /sw
parent1fda245841c2ace65f0067931ae9d2a5be9dda2a (diff)
Fix issue i120718: after save the sample file with page border and shadow to doc, the shadow depth and color changed
* source/filter/ww8/ww8par6.cxx MS Word Binary compatibility Patch by: Fan Zheng,<zheng.easyfan@gmail.com> Found by: dongjun zong,<zongdj001@gmail.com> Review by: Jian Hong Cheng,<chengjh@apache.org>
Notes
Notes: merged as: 30d8575cf59d3bc1feee2643d52c986004eb652a
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 85fab3730b68..2028a9057968 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -1577,7 +1577,9 @@ bool SwWW8ImplReader::SetShadow(SvxShadowItem& rShadow, const short *pSizeArray,
if (bRet)
{
rShadow.SetColor(Color(COL_BLACK));
- short nVal = pSizeArray[WW8_RIGHT];
+ //i120718
+ short nVal = pbrc[WW8_RIGHT].DetermineBorderProperties(bVer67);
+ //End
if (nVal < 0x10)
nVal = 0x10;
rShadow.SetWidth(nVal);