From ec665e3e898e733c9f602b21046079e569b58568 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 1 Jun 2018 16:37:57 +0200 Subject: use more OutputDevice::GetBitmapEx instead of GetBitmap Change-Id: Ib43cfaf3c91968d623e5a24f44539368da28d36f Reviewed-on: https://gerrit.libreoffice.org/55190 Tested-by: Jenkins Reviewed-by: Noel Grandin --- canvas/source/vcl/spritedevicehelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'canvas/source/vcl/spritedevicehelper.cxx') diff --git a/canvas/source/vcl/spritedevicehelper.cxx b/canvas/source/vcl/spritedevicehelper.cxx index 021abba778d8..eb9dd0972b98 100644 --- a/canvas/source/vcl/spritedevicehelper.cxx +++ b/canvas/source/vcl/spritedevicehelper.cxx @@ -120,7 +120,7 @@ namespace vclcanvas const ::Point aEmptyPoint; mpBackBuffer->getOutDev().EnableMapMode( false ); mpBackBuffer->getOutDev().SetAntialiasing( AntialiasingFlags::EnableB2dDraw ); - WriteDIB(mpBackBuffer->getOutDev().GetBitmap(aEmptyPoint, mpBackBuffer->getOutDev().GetOutputSizePixel()), aStream, false, true); + WriteDIB(mpBackBuffer->getOutDev().GetBitmapEx(aEmptyPoint, mpBackBuffer->getOutDev().GetOutputSizePixel()), aStream, false); } ++nFilePostfixCount; -- cgit