summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorJian Hong Cheng <chengjh@apache.org>2012-08-31 10:07:04 +0000
committerXisco Fauli <anistenis@gmail.com>2013-04-03 23:23:01 +0200
commitac4c6860961264d23504df90ccf805bd25be032f (patch)
tree6a8f208660aacec1eb4f533cba3c2284944ca39f /sw
parentuse matching separators and format codes of es_AR (diff)
downloadcore-ac4c6860961264d23504df90ccf805bd25be032f.tar.gz
core-ac4c6860961264d23504df90ccf805bd25be032f.zip
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>
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 c37da4aaae82..c022db6adc72 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -1398,7 +1398,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);