summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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