[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - sw/source

Noel Grandin noel.grandin at collabora.co.uk
Wed Mar 28 23:08:25 UTC 2018


 sw/source/core/layout/paintfrm.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4027823b5aff2bc0503ed63baae64a33d75c6ffb
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Mar 23 08:21:30 2018 +0200

    tdf#116525 writer, no shadow around box
    
    regression from
    
        commit 2ccde70d60d3a5074faf49260e8fe0ccdb91ff26
        teach redundantcast plugin about functional casts
    
    because we are now passing the same variable as a both an in-parameter
    and an out-parameter
    
    Change-Id: I6454103fbc46530180cde5f725273e062eb2e25d
    Reviewed-on: https://gerrit.libreoffice.org/51757
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit 327fd7ea7209c9131ac86757fa8d5ca925eeccb5)
    Reviewed-on: https://gerrit.libreoffice.org/52012
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 9d15ac754622..9ace67161ffc 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -4945,7 +4945,7 @@ void PaintCharacterBorder(
 
         if( aShadow.GetLocation() != SvxShadowLocation::NONE )
         {
-            lcl_PaintShadow( aAlignedRect, aAlignedRect, aShadow,
+            lcl_PaintShadow( rPaintArea, aAlignedRect, aShadow,
                              false, bTop, bBottom, bLeft, bRight, gProp);
         }
     }


More information about the Libreoffice-commits mailing list