diff options
-rw-r--r-- | vcl/headless/svpbmp.cxx | 2 | ||||
-rw-r--r-- | vcl/headless/svpvd.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpbmp.cxx b/vcl/headless/svpbmp.cxx index 03a8a90dc487..3e08e900227f 100644 --- a/vcl/headless/svpbmp.cxx +++ b/vcl/headless/svpbmp.cxx @@ -53,7 +53,7 @@ bool SvpSalBitmap::Create( const Size& rSize, case 16: nFormat = FORMAT_SIXTEEN_BIT_LSB_TC_MASK; break; #endif case 24: nFormat = FORMAT_TWENTYFOUR_BIT_TC_MASK; break; -#if defined(ANDROID) || defined(IOS) +#ifdef ANDROID case 32: nFormat = FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA; break; #else case 32: nFormat = FORMAT_THIRTYTWO_BIT_TC_MASK_BGRA; break; diff --git a/vcl/headless/svpvd.cxx b/vcl/headless/svpvd.cxx index d9ca7d2e5619..e5a20b58fcac 100644 --- a/vcl/headless/svpvd.cxx +++ b/vcl/headless/svpvd.cxx @@ -81,7 +81,7 @@ bool SvpSalVirtualDevice::SetSizeUsingBuffer( long nNewDX, long nNewDY, const ba #endif case 24: nFormat = FORMAT_TWENTYFOUR_BIT_TC_MASK; break; case 32: nFormat = FORMAT_THIRTYTWO_BIT_TC_MASK_BGRA; break; -#if defined(ANDROID) || defined(IOS) +#ifdef ANDROID case 0: nFormat = FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA; break; #else case 0: nFormat = FORMAT_TWENTYFOUR_BIT_TC_MASK; break; |