lotuswordpro/source/filter/lwpbackgroundstuff.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f22efef76929b999033d9ca6e1b2dd77dcb2b314
Author:     Noel Grandin <[email protected]>
AuthorDate: Thu Sep 4 17:05:27 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Thu Sep 4 21:12:17 2025 +0200

    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 <[email protected]>
    Tested-by: Jenkins

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<XFBGImage> 
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<sal_uInt8[]> pImageBuff(new sal_uInt8[nSize]);
     memcpy(pImageBuff.get(), aPicMemStream.GetData(), nSize);

Reply via email to