summaryrefslogtreecommitdiff
path: root/vcl/quartz/salvd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/quartz/salvd.cxx')
-rw-r--r--vcl/quartz/salvd.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/quartz/salvd.cxx b/vcl/quartz/salvd.cxx
index b7717fa0f433..c09dd449e289 100644
--- a/vcl/quartz/salvd.cxx
+++ b/vcl/quartz/salvd.cxx
@@ -115,9 +115,11 @@ AquaSalVirtualDevice::AquaSalVirtualDevice( AquaSalGraphics* pGraphic, long &nDX
case DeviceFormat::BITMASK:
mnBitmapDepth = 1;
break;
+#ifdef IOS
case DeviceFormat::GRAYSCALE:
mnBitmapDepth = 8;
break;
+#endif
default:
mnBitmapDepth = 0;
break;