diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-12-01 13:27:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-12-06 09:51:17 +0100 |
commit | aa7d1c8f1411fe35465f265259cf1082adf05aea (patch) | |
tree | 4addfc59d01b1fd5470d660f5c48abbd28990fde /svx | |
parent | 0f82e9d42822e627edd1fb3b3c87e1f8a22136a4 (diff) |
make AlphaMask separate from Bitmap
Having it subclass Bitmap encourages confusion in passing it around, and
I need the extra type-safety for my work on merged-alpha
Change-Id: I35819f9b8ee609cbdaf865563c78531e397b529b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160235
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/_contdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index 725ce095c9ed..da7077956917 100644 --- a/svx/source/dialog/_contdlg.cxx +++ b/svx/source/dialog/_contdlg.cxx @@ -115,7 +115,7 @@ tools::PolyPolygon SvxContourDlg::CreateAutoContour( const Graphic& rGraphic, } } else if( rGraphic.IsTransparent() ) - aBmp = rGraphic.GetBitmapEx().GetAlphaMask(); + aBmp = rGraphic.GetBitmapEx().GetAlphaMask().GetBitmap(); else { aBmp = rGraphic.GetBitmapEx().GetBitmap(); |