summaryrefslogtreecommitdiff
path: root/canvas/source/directx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-04 19:46:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-05 07:52:40 +0100
commitb45b18cec479cf89241b8d5b11a66f22f9fe3165 (patch)
tree62c76656eb71d851f57c39215927938fbeb9024d /canvas/source/directx
parent07339467ffce064ca507370d0b4294c2e0e8f4d4 (diff)
N8BitTcMask is unused
since commit 77809fba7d4bf5e0b604ffa3937c18d5530c2d56 Author: Luboš Luňák <l.lunak@collabora.com> 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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source/directx')
-rw-r--r--canvas/source/directx/dx_vcltools.cxx5
1 files changed, 1 insertions, 4 deletions
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: