summaryrefslogtreecommitdiff
path: root/vcl/quartz/salbmp.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-31 21:05:09 +0300
committerTor Lillqvist <tml@collabora.com>2014-03-31 21:09:07 +0300
commit9c87596c8a0123076249c7bd59eaaa41497b48fc (patch)
treeeeb231b8a97d6cc72076550bbfefab6237a7eea8 /vcl/quartz/salbmp.cxx
parent3fec64a87f3b611c13a10c6dd84de0cf9c7c35b5 (diff)
Add SAL_INFOs for very detailed CoreGraphics tracing
One would think there would exist some kind of shim library that would automatically provide such traces, hmm. Change-Id: I568d02a2ac70078dee0280d1feb3eab7bbd43030
Diffstat (limited to 'vcl/quartz/salbmp.cxx')
-rw-r--r--vcl/quartz/salbmp.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 3732550f3e4a..aaeccaa310a6 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -212,11 +212,7 @@ bool QuartzSalBitmap::CreateContext()
// no conversion needed for truecolor
maContextBuffer = maUserBuffer;
}
- else if( mnBits == 8
-#ifndef IOS
- && maPalette.IsGreyPalette()
-#endif
- )
+ else if( mnBits == 8 && maPalette.IsGreyPalette() )
{
// no conversion needed for grayscale
maContextBuffer = maUserBuffer;