diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-03-29 14:23:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-31 09:22:27 +0200 |
commit | a6c6f35ccc78e74cfa76397d649c1b6fc4baad29 (patch) | |
tree | 61c47ee4099b8db2996e2c00ba99dbe5f79ab68d /vcl/qa/cppunit/svm/svmtest.cxx | |
parent | 5c90f3d28de6262bb730bad106d4652e458054df (diff) |
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 <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qa/cppunit/svm/svmtest.cxx')
-rw-r--r-- | vcl/qa/cppunit/svm/svmtest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } |