Kaydet (Commit) 30d8575c authored tarafından Jian Hong Cheng's avatar Jian Hong Cheng Kaydeden (comit) Caolán McNamara

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 513bfe20)

Change-Id: If090141a92d9aa00f60b622a5d8dcbe8d92860c0
üst c61f3527
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment