From 8b7a1343d9fb764bc792f46a7418c51ff0beb33e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 1 Jul 2025 19:32:35 +0200 Subject: [PATCH] tdf#166842 do not use FillColor==COL_TRANSPARENT... .. on OutputDevice if that OutputDevice does not support alpha Change-Id: Ib64913c7998e036dc7ccd012363232e6153981bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187249 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/filter/wmf/emfwr.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/source/filter/wmf/emfwr.hxx b/vcl/source/filter/wmf/emfwr.hxx index 75f7f3819604..e781d9ac0262 100644 --- a/vcl/source/filter/wmf/emfwr.hxx +++ b/vcl/source/filter/wmf/emfwr.hxx @@ -87,7 +87,7 @@ private: public: explicit EMFWriter(SvStream &rStream) - : maVDev( VclPtr::Create() ) + : maVDev( VclPtr::Create(DeviceFormat::WITH_ALPHA) ) , m_rStm(rStream) , mnHandleCount(0) , mnRecordCount(0)