From 63dd594d535b1272a29a3f4217212b6063a08af6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 27 Feb 2021 18:35:14 +0200 Subject: drop TransparentType::Color usage which is dead code, since we convert to TransparentType::Bitmask in the constructor of BitmapEx Change-Id: I047b7d25317c4be4d17a8b0db9a90ec101875c9f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111683 Tested-by: Jenkins Reviewed-by: Noel Grandin --- drawinglayer/source/texture/texture3d.cxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'drawinglayer') diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx index b4154f1e1bd6..ef53c94d0d10 100644 --- a/drawinglayer/source/texture/texture3d.cxx +++ b/drawinglayer/source/texture/texture3d.cxx @@ -121,17 +121,6 @@ namespace drawinglayer::texture { break; } - case TransparentType::Color: - { - const BitmapColor aBitmapColor(mpReadBitmap->GetColor(rY, rX)); - - if(maBitmapEx.GetTransparentColor() == aBitmapColor) - { - return 255; - } - - break; - } case TransparentType::Bitmap: { OSL_ENSURE(mpReadTransparence, "OOps, transparence type Bitmap, but no read access created in the constructor (?)"); -- cgit