diff options
author | Jian Hong Cheng <chengjh@apache.org> | 2012-08-31 10:07:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-03 08:45:16 +0100 |
commit | 30d8575cf59d3bc1feee2643d52c986004eb652a (patch) | |
tree | 862e36ab146d2b005b3f74cc66722e4143d9d032 /sw | |
parent | c61f35275c613cf7ba6f1aa7bc8235340f9df8f7 (diff) |
Resolves: #i120718# 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>
(cherry picked from commit 513bfe206105974552c2b93fbe9dc8be854375e0)
Change-Id: If090141a92d9aa00f60b622a5d8dcbe8d92860c0
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par6.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index 6435e3ca778d..4f981d41f1a6 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -1399,7 +1399,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); |