[Libreoffice-commits] core.git: vcl/source
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Mon May 18 19:19:24 UTC 2020
vcl/source/outdev/bitmap.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit c8961ff03fb8f136f6a123bd74f96adffd138840
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon May 18 17:17:40 2020 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon May 18 21:18:48 2020 +0200
Simplify this a bit
Change-Id: Ie821c4e74e936557df0ad9fb5ab4b469dc8dc683
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94285
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index 58cf53ef61ae..251219add82b 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -673,9 +673,8 @@ void OutputDevice::DrawDeviceAlphaBitmap( const Bitmap& rBmp, const AlphaMask& r
if (mpAlphaVDev)
{
Bitmap aAlphaBitmap( mpAlphaVDev->GetBitmap( aRelPt, aOutSz ) );
- if (aAlphaBitmap.ImplGetSalBitmap())
+ if (SalBitmap* pSalAlphaBmp2 = aAlphaBitmap.ImplGetSalBitmap().get())
{
- SalBitmap* pSalAlphaBmp2 = aAlphaBitmap.ImplGetSalBitmap().get();
if (mpGraphics->BlendAlphaBitmap(aTR, *pSalSrcBmp, *pSalAlphaBmp, *pSalAlphaBmp2, this))
{
mpAlphaVDev->BlendBitmap(aTR, rAlpha);
More information about the Libreoffice-commits
mailing list