sw/source/filter/ww8/ww8par6.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 30d8575cf59d3bc1feee2643d52c986004eb652a
Author: Jian Hong Cheng <chen...@apache.org>
Date:   Fri Aug 31 10:07:04 2012 +0000

    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.easy...@gmail.com>
    Found by: dongjun zong,<zongdj...@gmail.com>
    Review by: Jian Hong Cheng,<chen...@apache.org>
    (cherry picked from commit 513bfe206105974552c2b93fbe9dc8be854375e0)
    
    Change-Id: If090141a92d9aa00f60b622a5d8dcbe8d92860c0

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 6435e3c..4f981d4 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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to