diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-14 15:30:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-14 20:49:21 +0100 |
commit | bb943222e6592402c4ca35bbf50094c7491330c9 (patch) | |
tree | 02246740f94f9fc08db1166d0ad336f7233687b3 /vcl/headless/SvpGraphicsBackend.cxx | |
parent | 3ad1411746a581357920a1ad6366935700719010 (diff) |
bump required cairo version to 1.12.0
Change-Id: I7fbfb21f2facdd6371fba821fd30e625115dc72d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142710
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/headless/SvpGraphicsBackend.cxx')
-rw-r--r-- | vcl/headless/SvpGraphicsBackend.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/headless/SvpGraphicsBackend.cxx b/vcl/headless/SvpGraphicsBackend.cxx index a0bbd789b9a0..cd5487031a63 100644 --- a/vcl/headless/SvpGraphicsBackend.cxx +++ b/vcl/headless/SvpGraphicsBackend.cxx @@ -593,12 +593,8 @@ void SvpGraphicsBackend::drawBitmapBuffer(const SalTwoRect& rTR, const BitmapBuf Color SvpGraphicsBackend::getPixel(tools::Long nX, tools::Long nY) { -#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 12, 0) cairo_surface_t* target = cairo_surface_create_similar_image(m_rCairoCommon.m_pSurface, CAIRO_FORMAT_ARGB32, 1, 1); -#else - cairo_surface_t* target = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 1, 1); -#endif cairo_t* cr = cairo_create(target); |