summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/helper/canvastools.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/helper/canvastools.cxx b/vcl/source/helper/canvastools.cxx
index 54dd76ae7651..8e837ac069e8 100644
--- a/vcl/source/helper/canvastools.cxx
+++ b/vcl/source/helper/canvastools.cxx
@@ -272,7 +272,6 @@ namespace vcl::unotools
vcl::PixelFormat::N24_BPP;
auto eAlphaPixelFormat =
( nAlphaDepth <= 1 ) ? vcl::PixelFormat::N1_BPP :
- ( nAlphaDepth <= 4 ) ? vcl::PixelFormat::N4_BPP :
vcl::PixelFormat::N8_BPP;
::Bitmap aBitmap( aPixelSize,