From f22efef76929b999033d9ca6e1b2dd77dcb2b314 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 4 Sep 2025 17:05:27 +0200 Subject: [PATCH] BitmapEx->Bitmap in LwpBackgroundStuff now that Bitmap supports transparency Change-Id: I03dd8533e877a914284c6e905619892e3f2246d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190597 Reviewed-by: Noel Grandin Tested-by: Jenkins --- lotuswordpro/source/filter/lwpbackgroundstuff.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx index c4b369e0de7f..ad7cf233ff83 100644 --- a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx +++ b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx @@ -145,7 +145,7 @@ std::unique_ptr LwpBackgroundStuff::GetFillPattern() // transfer image data from XOBitmap->SvStream->BYTE-Array SvMemoryStream aPicMemStream; aXOBitmap.Array2Bitmap(); - WriteDIB(BitmapEx(aXOBitmap.GetBitmap()), aPicMemStream); + WriteDIB(aXOBitmap.GetBitmap(), aPicMemStream); sal_uInt32 nSize = aPicMemStream.GetEndOfData(); std::unique_ptr pImageBuff(new sal_uInt8[nSize]); memcpy(pImageBuff.get(), aPicMemStream.GetData(), nSize);