summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2023-01-09 21:59:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-01-12 06:52:55 +0000
commitc68606ca09d22caea7c37417d97c076524fecb38 (patch)
tree859cbd182128d28e43ece475aee5d46dac65cc6f /include/vcl
parent21734247d58a6e915b058d8fa55ece949d049613 (diff)
maAlphaMask in BitmapEx should be AlphaMask
Change-Id: I12dd1881c2896ab2970a0d149048a36d1aee9c9d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145243 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/bitmapex.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx
index 7ec4dbf7d3c0..45f54d016a74 100644
--- a/include/vcl/bitmapex.hxx
+++ b/include/vcl/bitmapex.hxx
@@ -67,7 +67,7 @@ public:
const Bitmap& GetBitmap() const;
bool IsAlpha() const;
- AlphaMask GetAlphaMask() const;
+ const AlphaMask & GetAlphaMask() const { return maAlphaMask; }
const Size& GetSizePixel() const { return maBitmapSize; }
void SetSizePixel(const Size& rNewSize);
@@ -462,7 +462,7 @@ private:
void loadFromIconTheme( const OUString& rIconName );
Bitmap maBitmap;
- Bitmap maAlphaMask;
+ AlphaMask maAlphaMask;
Size maBitmapSize;
};