diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-07 16:56:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-07 20:17:16 +0200 |
commit | 1c7cbd685633d44eac554629572f3401c450f855 (patch) | |
tree | b7265034a37bbcf76ea5e91340eb90c84a5dda93 /slideshow/source/engine/shapes | |
parent | 918012d94cf9419318e66aaa489a75e56f81074f (diff) |
use AlphaMask for variables when calling GetAlphaMask
Right now this doesn't make any difference, since Bitmap is the
superclass of AlphaMask.
But when I switch to using alpha instead of transparency, passing
AlphaMask around is going to mean something different to passing plain
Bitmap around.
Change-Id: Ic1541e5f0a3b97331793cd23e23115faa7f382b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151463
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source/engine/shapes')
-rw-r--r-- | slideshow/source/engine/shapes/gdimtftools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx index 0c9e432850c6..990d9d26caac 100644 --- a/slideshow/source/engine/shapes/gdimtftools.cxx +++ b/slideshow/source/engine/shapes/gdimtftools.cxx @@ -283,7 +283,7 @@ bool getAnimationFromGraphic( VectorOfMtfAnimationFrames& o_rFrames, { pVDev->DrawBitmapEx(rAnimationFrame.maPositionPixel, rAnimationFrame.maBitmapEx); - Bitmap aMask = rAnimationFrame.maBitmapEx.GetAlphaMask(); + AlphaMask aMask = rAnimationFrame.maBitmapEx.GetAlphaMask(); if( aMask.IsEmpty() ) { |