summaryrefslogtreecommitdiffstats
path: root/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx')
-rw-r--r--vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx b/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx
index d4cb8ed1532b..26c1136cbe4d 100644
--- a/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx
+++ b/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx
@@ -144,8 +144,7 @@ void BitmapRenderTest::testDrawAlphaBitmapEx()
aPngReader.read(aBitmapEx);
// Check backend capabilities, if the backend support 32-bit bitmap
- auto pBackendCapabilities = ImplGetSVData()->mpDefInst->GetBackendCapabilities();
- if (pBackendCapabilities->mbSupportsBitmap32)
+ if (ImplGetSVData()->mpDefInst->supportsBitmap32())
{
CPPUNIT_ASSERT_EQUAL(vcl::PixelFormat::N32_BPP, aBitmapEx.GetBitmap().getPixelFormat());
}