vcl/source/outdev/bitmap.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit c8961ff03fb8f136f6a123bd74f96adffd138840
Author:     Mike Kaganski <[email protected]>
AuthorDate: Mon May 18 17:17:40 2020 +0200
Commit:     Mike Kaganski <[email protected]>
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 <[email protected]>

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);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to