diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-01 11:18:16 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-01 11:18:44 +0300 |
commit | 994da4b9738dafdc0654a439a40adfe4c02a507d (patch) | |
tree | 4c0002962f93b3193b5d99727d8b1699772ba548 | |
parent | ec221b7339f8fe5520926ef85b450daa94392780 (diff) |
Simplify
Change-Id: I9857afc5dd6652fc28be00bea81ad213712b3dc5
-rw-r--r-- | vcl/quartz/salbmp.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx index 800335608b4c..e0a57d3caf59 100644 --- a/vcl/quartz/salbmp.cxx +++ b/vcl/quartz/salbmp.cxx @@ -207,11 +207,7 @@ bool QuartzSalBitmap::CreateContext() AllocateUserData(); // default to RGBA color space -#ifdef IOS - CGColorSpaceRef aCGColorSpace = CGColorSpaceCreateDeviceRGB(); -#else CGColorSpaceRef aCGColorSpace = GetSalData()->mxRGBSpace; -#endif CGBitmapInfo aCGBmpInfo = kCGImageAlphaNoneSkipFirst; // convert data into something accepted by CGBitmapContextCreate() @@ -226,11 +222,7 @@ bool QuartzSalBitmap::CreateContext() { // no conversion needed for grayscale maContextBuffer = maUserBuffer; -#ifdef IOS - aCGColorSpace = CGColorSpaceCreateDeviceGray(); -#else aCGColorSpace = GetSalData()->mxGraySpace; -#endif aCGBmpInfo = kCGImageAlphaNone; bitsPerComponent = mnBits; } |