From b639fe60eab2a221e23dc9d509f9281857d656a3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 19 Nov 2015 11:51:47 +0000 Subject: VirtualDevices either match another device depth, or are 1 bit cairo can therefore always render to a svp virtual device with need for a fallback Change-Id: I5d03ae541820389e26f7448444444be009fb28a4 --- vcl/unx/generic/gdi/salvd.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'vcl/unx/generic/gdi/salvd.cxx') diff --git a/vcl/unx/generic/gdi/salvd.cxx b/vcl/unx/generic/gdi/salvd.cxx index d86677beb12d..97b1d3be778b 100644 --- a/vcl/unx/generic/gdi/salvd.cxx +++ b/vcl/unx/generic/gdi/salvd.cxx @@ -104,9 +104,6 @@ X11SalVirtualDevice::X11SalVirtualDevice(SalGraphics* pGraphics, long &nDX, long case DeviceFormat::BITMASK: nBitCount = 1; break; - case DeviceFormat::GRAYSCALE: - nBitCount = 8; - break; default: nBitCount = pGraphics->GetBitCount(); break; -- cgit