You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ch...@apache.org on 2012/08/31 13:07:05 UTC
svn commit: r1379417 -
/incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par6.cxx
Author: chengjh
Date: Fri Aug 31 11:07:04 2012
New Revision: 1379417
URL: http://svn.apache.org/viewvc?rev=1379417&view=rev
Log:
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,<zh...@gmail.com>
Found by: dongjun zong,<zo...@gmail.com>
Review by: Jian Hong Cheng,<ch...@apache.org>
Modified:
incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par6.cxx
Modified: incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par6.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par6.cxx?rev=1379417&r1=1379416&r2=1379417&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par6.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par6.cxx Fri Aug 31 11:07:04 2012
@@ -1577,7 +1577,9 @@ bool SwWW8ImplReader::SetShadow(SvxShado
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);