summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/shapes/gdimtftools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/shapes/gdimtftools.cxx')
-rw-r--r--slideshow/source/engine/shapes/gdimtftools.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx
index e3d22e5033f2..dfb33d95f38c 100644
--- a/slideshow/source/engine/shapes/gdimtftools.cxx
+++ b/slideshow/source/engine/shapes/gdimtftools.cxx
@@ -289,7 +289,7 @@ bool getAnimationFromGraphic( VectorOfMtfAnimationFrames& o_rFrames,
{
pVDev->DrawBitmapEx(rAnimationBitmap.maPositionPixel,
rAnimationBitmap.maBitmapEx);
- Bitmap aMask = rAnimationBitmap.maBitmapEx.GetMask();
+ Bitmap aMask = rAnimationBitmap.maBitmapEx.GetAlpha();
if( aMask.IsEmpty() )
{
@@ -311,7 +311,7 @@ bool getAnimationFromGraphic( VectorOfMtfAnimationFrames& o_rFrames,
case Disposal::Back:
{
// #i70772# react on no mask
- const Bitmap aMask(rAnimationBitmap.maBitmapEx.GetMask());
+ const Bitmap aMask(rAnimationBitmap.maBitmapEx.GetAlpha());
const Bitmap & rContent(rAnimationBitmap.maBitmapEx.GetBitmap());
pVDevMask->Erase();
@@ -336,7 +336,7 @@ bool getAnimationFromGraphic( VectorOfMtfAnimationFrames& o_rFrames,
pVDev->DrawBitmapEx(rAnimationBitmap.maPositionPixel,
rAnimationBitmap.maBitmapEx);
pVDevMask->DrawBitmap(rAnimationBitmap.maPositionPixel,
- rAnimationBitmap.maBitmapEx.GetMask());
+ rAnimationBitmap.maBitmapEx.GetAlpha());
break;
}
}