summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/shadowprimitive2d.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-04-22 15:30:05 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-04-22 17:38:15 +0200
commit1097686ebddd48b78816d87524caadd17b788c23 (patch)
tree829660cdf95b628e3c8ed037d353466e53458482 /drawinglayer/source/primitive2d/shadowprimitive2d.cxx
parentaf9ae41d6766d9103199f7c41380789ee7740224 (diff)
tdf#160782: convert to bitmapEx from 0,0 to width,height
This is the way it's done everywhere. Partially revert 4b6e0f2c88debaedb514c868e061c21e15215b6e "tdf#160726, tdf#48062: Simplify how BitmapExs are created" Change-Id: I15fea0b6855a65da7cb48b24fc00ba303e33dcf8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166456 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'drawinglayer/source/primitive2d/shadowprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/shadowprimitive2d.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/shadowprimitive2d.cxx b/drawinglayer/source/primitive2d/shadowprimitive2d.cxx
index c32f37bd9e8e..5de34c5440b6 100644
--- a/drawinglayer/source/primitive2d/shadowprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/shadowprimitive2d.cxx
@@ -217,8 +217,7 @@ void ShadowPrimitive2D::create2DDecomposition(
// I have now added a helper that just creates the mask without having
// to render the content, use it, it's faster
const AlphaMask aAlpha(::drawinglayer::createAlphaMask(
- std::move(xEmbedSeq), aViewInformation2D,
- basegfx::B2DRange(0, 0, nDiscreteClippedWidth, nDiscreteClippedHeight),
+ std::move(xEmbedSeq), aViewInformation2D, nDiscreteClippedWidth, nDiscreteClippedHeight,
nMaximumQuadraticPixels));
// if we have no shadow, we are done