tdf#166842 do not use FillColor==COL_TRANSPARENT...

.. on OutputDevice if that OutputDevice does not support alpha

Change-Id: I423aaa2a1366b1d2dc5793cccafa3af58b8fe0ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187236
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
This commit is contained in:
Noel Grandin
2025-07-01 13:29:56 +02:00
parent ed48829ae8
commit 1994fb2b30

View File

@ -115,7 +115,7 @@ void CandidateMgr::PaintTransparentChildren(vcl::Window const & rWindow, tools::
SdrPreRenderDevice::SdrPreRenderDevice(OutputDevice& rOriginal)
: mpOutputDevice(&rOriginal),
mpPreRenderDevice(VclPtr<VirtualDevice>::Create())
mpPreRenderDevice(VclPtr<VirtualDevice>::Create(DeviceFormat::WITH_ALPHA))
{
}