summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/outdev.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2025-07-02 12:59:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2025-07-03 09:47:52 +0200
commit20667acbca5df17771a3581632a672d5db4e751b (patch)
tree8ed4137c716e4c305e3718f024427ba328a2598b /vcl/qa/cppunit/outdev.cxx
parentb96b0af82ef0081612a653db1a4dff7f68a5de9b (diff)
tdf#166842 do not use LineColor==COL_TRANSPARENT...
.. on OutputDevice if that OutputDevice does not support alpha Change-Id: Ic912237eda97beec6276c6c837f3b95fe92aea50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187275 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qa/cppunit/outdev.cxx')
-rw-r--r--vcl/qa/cppunit/outdev.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/outdev.cxx b/vcl/qa/cppunit/outdev.cxx
index 10caf6e334b2..d0cb54376728 100644
--- a/vcl/qa/cppunit/outdev.cxx
+++ b/vcl/qa/cppunit/outdev.cxx
@@ -564,7 +564,7 @@ CPPUNIT_TEST_FIXTURE(VclOutdevTest, testDefaultLineColor)
CPPUNIT_TEST_FIXTURE(VclOutdevTest, testTransparentLineColor)
{
// Create a virtual device, and connect a metafile to it.
- ScopedVclPtrInstance<VirtualDevice> pVDev;
+ ScopedVclPtrInstance<VirtualDevice> pVDev(DeviceFormat::WITH_ALPHA);
GDIMetaFile aMtf;
aMtf.Record(pVDev.get());