diff options
author | Noel Grandin <noel@peralex.com> | 2021-02-27 18:35:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-03 08:26:47 +0100 |
commit | 63dd594d535b1272a29a3f4217212b6063a08af6 (patch) | |
tree | d6d99aaae322bdf1fe62c41e1c03e2b08c4dee9d /drawinglayer | |
parent | 4adfd75021d50e8e91c71bbe1526a1c752343059 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/texture/texture3d.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
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 (?)"); |