basctl/source/dlged/dlged.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 4efd03d69ac7f6ae463aa56cea6f0e80f289f6e3
Author:     Noel Grandin <[email protected]>
AuthorDate: Mon Sep 1 09:13:21 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Mon Sep 1 10:50:15 2025 +0200

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

diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index 1f72b3ae4e07..a799d85bc49b 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -1130,8 +1130,8 @@ void DlgEditor::Print( Printer* pPrinter, const OUString& 
rTitle )    // not wor
 
     lcl_PrintHeader( pPrinter, rTitle );
 
-    BitmapEx aDlgEx;
-    Size aBmpSz( pPrinter->PixelToLogic( aDlgEx.GetSizePixel() ) );
+    Bitmap aDlg;
+    Size aBmpSz( pPrinter->PixelToLogic( aDlg.GetSizePixel() ) );
     double nPaperSzWidth = aPaperSz.Width();
     double nPaperSzHeight = aPaperSz.Height();
     double nBmpSzWidth = aBmpSz.Width();
@@ -1158,7 +1158,7 @@ void DlgEditor::Print( Printer* pPrinter, const OUString& 
rTitle )    // not wor
     aPosOffs.AdjustX(Print::nLeftMargin );
     aPosOffs.AdjustY(Print::nTopMargin );
 
-    pPrinter->DrawBitmapEx( aPosOffs, aOutputSz, aDlgEx );
+    pPrinter->DrawBitmapEx( aPosOffs, aOutputSz, aDlg );
 
     pPrinter->SetMapMode( aOldMap );
     pPrinter->SetFont( aOldFont );

Reply via email to