From 33af2a8e97c0cb8635be5452c58dad40944f8019 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 27 Jun 2018 18:48:40 +0300 Subject: 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 Tested-by: Tor Lillqvist --- vcl/source/gdi/bmpacc.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'vcl') 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; } -- cgit