diff options
-rw-r--r-- | vcl/headless/CairoCommon.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx index 12f42313081b..6552460cf5e6 100644 --- a/vcl/headless/CairoCommon.cxx +++ b/vcl/headless/CairoCommon.cxx @@ -402,7 +402,7 @@ cairo_user_data_key_t* CairoCommon::getDamageKey() sal_uInt16 CairoCommon::GetBitCount() const { - if (cairo_surface_get_content(m_pSurface) != CAIRO_CONTENT_COLOR_ALPHA) + if (cairo_surface_get_content(m_pSurface) == CAIRO_CONTENT_ALPHA) return 1; return 32; } |