diff options
Diffstat (limited to 'vcl/qa/cppunit/BitmapTest.cxx')
-rw-r--r-- | vcl/qa/cppunit/BitmapTest.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/qa/cppunit/BitmapTest.cxx b/vcl/qa/cppunit/BitmapTest.cxx index 4d033c9e37a3..edb9fe386de6 100644 --- a/vcl/qa/cppunit/BitmapTest.cxx +++ b/vcl/qa/cppunit/BitmapTest.cxx @@ -136,8 +136,7 @@ void BitmapTest::testCreation() // Check backend capabilities and return from the test successfully // if the backend doesn't support 32-bit bitmap - auto pBackendCapabilities = ImplGetSVData()->mpDefInst->GetBackendCapabilities(); - if (pBackendCapabilities->mbSupportsBitmap32) + if (ImplGetSVData()->mpDefInst->supportsBitmap32()) { Bitmap aBmp(Size(10, 10), vcl::PixelFormat::N32_BPP); Size aSize = aBmp.GetSizePixel(); @@ -507,8 +506,7 @@ void BitmapTest::testBitmap32() { // Check backend capabilities and return from the test successfully // if the backend doesn't support 32-bit bitmap - auto pBackendCapabilities = ImplGetSVData()->mpDefInst->GetBackendCapabilities(); - if (!pBackendCapabilities->mbSupportsBitmap32) + if (!ImplGetSVData()->mpDefInst->supportsBitmap32()) return; Bitmap aBitmap(Size(3, 3), vcl::PixelFormat::N32_BPP); |