From cfb2a587bc59d2a0ff520dd09393f898506055d6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 9 Jan 2023 15:58:59 +0200 Subject: rename BitmapEx::GetAlpha to GetAlphaMask to ease the reading of code related to an upcoming patch to convert transparency to alpha, since there is already a GetAlpha in Color. Change-Id: I1af0f8f6dd94acfe4673c8556c7aff6c20da3f7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145209 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/gdi/pdfwriter_impl2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/gdi/pdfwriter_impl2.cxx') diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index cac3813cdedc..ef82bdeee41f 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -202,7 +202,7 @@ void PDFWriterImpl::implWriteBitmapEx( const Point& i_rPoint, const Size& i_rSiz nZippedFileSize = aTemp.TellEnd(); } if ( aBitmapEx.IsAlpha() ) - aAlphaMask = aBitmapEx.GetAlpha(); + aAlphaMask = aBitmapEx.GetAlphaMask(); Graphic aGraphic(BitmapEx(aBitmapEx.GetBitmap())); Sequence< PropertyValue > aFilterData{ -- cgit