From c68606ca09d22caea7c37417d97c076524fecb38 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 9 Jan 2023 21:59:27 +0200 Subject: 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 --- include/vcl/bitmapex.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/vcl') 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; }; -- cgit