diff options
Diffstat (limited to 'vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx')
-rw-r--r-- | vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx b/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx index 06758e4ae694..dbe02d455b04 100644 --- a/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx +++ b/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx @@ -182,8 +182,8 @@ void BitmapRenderTest::testAlphaVirtualDevice() // TODO: This unit test is not executed for macOS unless bitmap scaling is implemented #ifndef MACOSX // Create an alpha virtual device - ScopedVclPtr<VirtualDevice> pAlphaVirtualDevice(VclPtr<VirtualDevice>::Create( - *Application::GetDefaultDevice(), DeviceFormat::DEFAULT, DeviceFormat::DEFAULT)); + ScopedVclPtr<VirtualDevice> pAlphaVirtualDevice( + VclPtr<VirtualDevice>::Create(*Application::GetDefaultDevice(), DeviceFormat::WITH_ALPHA)); // Set it up pAlphaVirtualDevice->SetOutputSizePixel(Size(4, 4)); |