summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-11-27 20:11:16 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-11-27 22:39:21 +0000
commit8375e38606aba289e2be09bda43a47ecede54864 (patch)
tree1ecedd2a5a190d7fec2d75a75318edae5d99176a
parent3cf3b0e54d8b4fdec46698e38f97c05627223939 (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>
-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