vcl/source/gdi/print.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit c9c91939e2c1c5d1d997bc6322d1f05a9a02f40b
Author: Noel Grandin <[email protected]>
AuthorDate: Wed Jan 7 10:44:11 2026 +0200
Commit: Noel Grandin <[email protected]>
CommitDate: Thu Jan 8 19:34:51 2026 +0100
remove dead code
Change-Id: I9e8f0744f94d1d2b258e265ff58a1be25faecdac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196660
Reviewed-by: Noel Grandin <[email protected]>
Tested-by: Jenkins
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index febbea1efa29..b0a893221412 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -139,10 +139,6 @@ void Printer::ImplPrintTransparent( const Bitmap& rBmp,
aPaint.Mirror( nMirrFlags );
}
- // we always want to have a mask
- AlphaMask aAlphaMask(aSrcRect.GetSize());
- aAlphaMask.Erase( 0 );
-
// do painting
const tools::Long nSrcWidth = aSrcRect.GetWidth(), nSrcHeight =
aSrcRect.GetHeight();
tools::Long nX, nY; // , nWorkX, nWorkY, nWorkWidth, nWorkHeight;