vcl/source/gdi/dibtools.cxx |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 776de8a2394e6adecc9b46920f3e84f522b5c149
Author: Norbert Thiebaud <nthieb...@gmail.com>
Date:   Wed Jun 26 03:27:08 2013 -0500

    coverity#1027396 : Logically dead code
    
    Change-Id: Ia1d0358b95e036f3866487db12cb42e0e81d76cf
    Reviewed-on: https://gerrit.libreoffice.org/4532
    Reviewed-by: Fridrich Strba <fridr...@documentfoundation.org>
    Tested-by: Fridrich Strba <fridr...@documentfoundation.org>

diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx
index c4b3bfe..6a15ade 100644
--- a/vcl/source/gdi/dibtools.cxx
+++ b/vcl/source/gdi/dibtools.cxx
@@ -1111,14 +1111,7 @@ bool ImplWriteDIBBits(SvStream& rOStm, BitmapReadAccess& 
rAcc, BitmapReadAccess*
 
                             if(bWriteAlpha)
                             {
-                                if(pAccAlpha)
-                                {
-                                    *pTmp++ = (sal_uInt8)0xff - 
(sal_uInt8)pAccAlpha->GetPixelIndex( nY, nX );
-                                }
-                                else
-                                {
-                                    *pTmp++ = (sal_uInt8)0xff;
-                                }
+                                *pTmp++ = (sal_uInt8)0xff - 
(sal_uInt8)pAccAlpha->GetPixelIndex( nY, nX );
                             }
                         }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to