[Libreoffice-commits] core.git: vcl/source

Tor Lillqvist tml at collabora.com
Wed Jun 27 19:13:12 UTC 2018


 vcl/source/gdi/bmpacc.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 33af2a8e97c0cb8635be5452c58dad40944f8019
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Jun 27 18:48:40 2018 +0300

    This assert() seems superfluous
    
    The assertion fails when one reproduces tdf#69460 but removing the
    assert() does not cause any problems.
    
    Change-Id: Idaa5d41a0cf76073e406d7152fc3b4e9ebd3e876
    Reviewed-on: https://gerrit.libreoffice.org/56538
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/vcl/source/gdi/bmpacc.cxx b/vcl/source/gdi/bmpacc.cxx
index b0e6f331b122..ae82afd2bc0f 100644
--- a/vcl/source/gdi/bmpacc.cxx
+++ b/vcl/source/gdi/bmpacc.cxx
@@ -59,8 +59,6 @@ BitmapInfoAccess::BitmapInfoAccess( Bitmap& rBitmap, BitmapAccessMode nMode ) :
         }
     }
 
-    assert(mpBuffer);
-
     maBitmap = rBitmap;
 }
 


More information about the Libreoffice-commits mailing list