From 8375e38606aba289e2be09bda43a47ecede54864 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Fri, 27 Nov 2015 20:11:16 +0100 Subject: [PATCH] fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type Change-Id: I723122069541bc5752164554e693268267969b1a Reviewed-on: https://gerrit.libreoffice.org/20240 Reviewed-by: Norbert Thiebaud Tested-by: Norbert Thiebaud --- vcl/headless/svpgdi.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index effbeda04e02..06030d99d6f8 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -135,6 +135,7 @@ void SvpSalGraphics::clipRegion(cairo_t* cr) cairo_clip(cr); } } +#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 10, 0) namespace { cairo_rectangle_int_t getFillDamage(cairo_t* cr) @@ -156,6 +157,7 @@ namespace return extents; } } +#endif #endif -- 2.11.4.GIT