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

New commits:
commit c6ec8248adea412770e61db13885f6d9fd09099c
Author:     Noel Grandin <[email protected]>
AuthorDate: Mon Jul 8 12:15:03 2019 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Mon Jul 8 21:29:51 2019 +0200

    use DrawBitmapEx in DlgEditor::Print
    
    Change-Id: Ie61c63f46d037fddd6ce1d0c260c98998d6de71c
    Reviewed-on: https://gerrit.libreoffice.org/75210
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index 045640691e6f..c318ba8739d7 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -1170,8 +1170,8 @@ void DlgEditor::Print( Printer* pPrinter, const OUString& 
rTitle )    // not wor
 
     lcl_PrintHeader( pPrinter, rTitle );
 
-    Bitmap aDlg;
-    Size aBmpSz( pPrinter->PixelToLogic( aDlg.GetSizePixel() ) );
+    BitmapEx aDlgEx;
+    Size aBmpSz( pPrinter->PixelToLogic( aDlgEx.GetSizePixel() ) );
     double nPaperSzWidth = aPaperSz.Width();
     double nPaperSzHeight = aPaperSz.Height();
     double nBmpSzWidth = aBmpSz.Width();
@@ -1198,7 +1198,7 @@ void DlgEditor::Print( Printer* pPrinter, const OUString& 
rTitle )    // not wor
     aPosOffs.AdjustX(Print::nLeftMargin );
     aPosOffs.AdjustY(Print::nTopMargin );
 
-    pPrinter->DrawBitmap( aPosOffs, aOutputSz, aDlg );
+    pPrinter->DrawBitmapEx( aPosOffs, aOutputSz, aDlgEx );
 
     pPrinter->SetMapMode( aOldMap );
     pPrinter->SetFont( aOldFont );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to