summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-11-27 20:11:16 +0100
committerAndras Timar <andras.timar@collabora.com>2015-11-28 14:15:57 +0100
commit0a3987d8ffa7c9456f120a0ec158661f00c37bde (patch)
tree4c11905680fa00366cbab7b6465a5ef34ddfae60 /vcl/headless
parenta50f34a4af79bafbfa3533d20a2daa33b5308d08 (diff)
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 <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> (cherry picked from commit 8375e38606aba289e2be09bda43a47ecede54864)
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpgdi.cxx2
1 files changed, 2 insertions, 0 deletions
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