From b45b18cec479cf89241b8d5b11a66f22f9fe3165 Mon Sep 17 00:00:00 2001 From: Noel Date: Wed, 4 Nov 2020 19:46:49 +0200 Subject: N8BitTcMask is unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit since commit 77809fba7d4bf5e0b604ffa3937c18d5530c2d56 Author: Luboš Luňák Date: Fri Oct 9 19:28:49 2020 +0200 implement ImplFastBitmapConversion() for 8bit gray source Change-Id: I730aef10c1705ae6d3141014228cf79b8bfa3c63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105305 Tested-by: Jenkins Reviewed-by: Noel Grandin --- canvas/source/directx/dx_vcltools.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'canvas') diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx index b7eb0570e48a..6309ebaaacb3 100644 --- a/canvas/source/directx/dx_vcltools.cxx +++ b/canvas/source/directx/dx_vcltools.cxx @@ -191,8 +191,7 @@ namespace dxcanvas::tools "::dxcanvas::tools::bitmapFromVCLBitmapEx(): " "Unable to acquire read access to alpha" ); - ENSURE_OR_THROW( pAlphaReadAccess->GetScanlineFormat() == ScanlineFormat::N8BitPal || - pAlphaReadAccess->GetScanlineFormat() == ScanlineFormat::N8BitTcMask, + ENSURE_OR_THROW( pAlphaReadAccess->GetScanlineFormat() == ScanlineFormat::N8BitPal, "::dxcanvas::tools::bitmapFromVCLBitmapEx(): " "Unsupported alpha scanline format" ); @@ -275,7 +274,6 @@ namespace dxcanvas::tools case ScanlineFormat::N1BitLsbPal: case ScanlineFormat::N4BitLsnPal: - case ScanlineFormat::N8BitTcMask: case ScanlineFormat::N24BitTcRgb: case ScanlineFormat::N32BitTcAbgr: case ScanlineFormat::N32BitTcArgb: @@ -410,7 +408,6 @@ namespace dxcanvas::tools case ScanlineFormat::N1BitLsbPal: case ScanlineFormat::N4BitLsnPal: - case ScanlineFormat::N8BitTcMask: case ScanlineFormat::N24BitTcRgb: case ScanlineFormat::N32BitTcAbgr: case ScanlineFormat::N32BitTcArgb: -- cgit