From a6c6f35ccc78e74cfa76397d649c1b6fc4baad29 Mon Sep 17 00:00:00 2001 From: Noel Date: Mon, 29 Mar 2021 14:23:16 +0200 Subject: drop 4bpp image formats on a path to simplifying our internal bitmap stuff, aiming to support a smaller set of image formats, but support them in an accelerated fashion. Change-Id: I5f8bf3cd49abf16ce460771492cdd5f358cb34df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113313 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- vcl/qa/cppunit/svm/svmtest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/qa/cppunit/svm/svmtest.cxx') diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx index 29254fe9c323..d9687cb135f1 100644 --- a/vcl/qa/cppunit/svm/svmtest.cxx +++ b/vcl/qa/cppunit/svm/svmtest.cxx @@ -1084,14 +1084,14 @@ void SvmTest::testBitmapExs() pVirtualDev->DrawBitmapEx(Point(0, 6), BitmapEx(aBitmap, COL_WHITE)); } - // DrawBitmapEx - 4-bit + // DrawBitmapEx - used to be 4-bit { Bitmap aBitmap(Size(2, 2), vcl::PixelFormat::N24_BPP); { BitmapScopedWriteAccess pAccess(aBitmap); pAccess->Erase(COL_MAGENTA); } - aBitmap.Convert(BmpConversion::N4BitColors); + aBitmap.Convert(BmpConversion::N8BitColors); pVirtualDev->DrawBitmapEx(Point(2, 6), BitmapEx(aBitmap, COL_WHITE)); } -- cgit