drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.cxx |    4 ++--
 drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.hxx |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit f8610622068edc0d69854fb44546fae7245a9568
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Sat Dec 2 22:30:07 2023 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Sun Dec 3 16:36:18 2023 +0100

    ProcessAndBlurAlphaMask should take an AlphaMask as param
    
    Change-Id: I9235e74499d95750ca93da050014657b418c27d1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160249
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.cxx 
b/drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.cxx
index bcd5f779af79..ee4b6d4cb14f 100644
--- a/drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.cxx
+++ b/drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.cxx
@@ -30,12 +30,12 @@ namespace drawinglayer::primitive2d
    Negative fErodeDilateRadius values mean erode, positive - dilate.
    nTransparency defines minimal transparency level.
 */
-AlphaMask ProcessAndBlurAlphaMask(const Bitmap& rMask, double 
fErodeDilateRadius,
+AlphaMask ProcessAndBlurAlphaMask(const AlphaMask& rMask, double 
fErodeDilateRadius,
                                   double fBlurRadius, sal_uInt8 nTransparency, 
bool bConvertTo1Bit)
 {
     // Invert it to operate in the transparency domain. Trying to update this 
method to
     // work in the alpha domain is fraught with hazards.
-    Bitmap tmpMask = rMask;
+    AlphaMask tmpMask = rMask;
     tmpMask.Invert();
 
     // Only completely white pixels on the initial mask must be considered for 
transparency. Any
diff --git a/drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.hxx 
b/drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.hxx
index 61079728d841..b6a62be8863e 100644
--- a/drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.hxx
+++ b/drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.hxx
@@ -29,7 +29,7 @@ namespace drawinglayer::primitive2d
    Negative fErodeDilateRadius values mean erode, positive - dilate.
    nTransparency defines minimal transparency level.
 */
-AlphaMask ProcessAndBlurAlphaMask(const Bitmap& rMask, double 
fErodeDilateRadius,
+AlphaMask ProcessAndBlurAlphaMask(const AlphaMask& rMask, double 
fErodeDilateRadius,
                                   double fBlurRadius, sal_uInt8 nTransparency,
                                   bool bConvertTo1Bit = true);
 

Reply via email to