summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-23 08:21:30 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2018-03-29 01:08:02 +0200
commit4027823b5aff2bc0503ed63baae64a33d75c6ffb (patch)
tree414c8756debfcb94886dc3c1aec7879361e23a8d
parente5b41e4d3fe400ba1ba8ff4a2f0ec41e6538535e (diff)
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@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 327fd7ea7209c9131ac86757fa8d5ca925eeccb5) Reviewed-on: https://gerrit.libreoffice.org/52012 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--sw/source/core/layout/paintfrm.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}
}