vcl/source/filter/bmp/BmpWriter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 10bb35f8fc99d6af2a3e449715f808a967e49dc4
Author:     Noel Grandin <[email protected]>
AuthorDate: Sun Aug 31 07:51:55 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Sun Aug 31 15:32:28 2025 +0200

    BitmapEx->Bitmap in BmpWriter
    
    now that Bitmap supports transparency
    
    Change-Id: I79e90cdcd0b1f81d7e3204ee55215110a14ad01b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190434
    Reviewed-by: Noel Grandin <[email protected]>
    Tested-by: Jenkins

diff --git a/vcl/source/filter/bmp/BmpWriter.cxx 
b/vcl/source/filter/bmp/BmpWriter.cxx
index 3d940d661ac7..c739ca3a3e97 100644
--- a/vcl/source/filter/bmp/BmpWriter.cxx
+++ b/vcl/source/filter/bmp/BmpWriter.cxx
@@ -32,7 +32,7 @@ bool BmpWriter(SvStream& rStream, const Graphic& rGraphic, 
FilterConfigItem* pFi
             aBitmap = rGraphic.GetBitmap();
     }
     bool bRleCoding = pFilterConfigItem->ReadBool(u"RLE_Coding"_ustr, true);
-    WriteDIB(BitmapEx(aBitmap), rStream, bRleCoding);
+    WriteDIB(aBitmap, rStream, bRleCoding);
 
     return rStream.good();
 }

Reply via email to