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)