[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - vcl/headless

Caolán McNamara caolanm at redhat.com
Tue Dec 8 14:49:59 PST 2015


 vcl/headless/svpgdi.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit d3ea3162f8bd491995103ae3f89a23da71365509
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Nov 30 20:20:12 2015 +0000

    my intent is to provide a define for cairo < 1.10.0
    
    (cherry picked from commit bd781238696d99c2c9c7378c28435f08c3adf451)
    
    Let's hope this fixes build on Linux-rpm_deb-x86 at 71-TDF
    
    Change-Id: Ib102b257aa9bf183409c1ab99f61ee63d653cbed

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 57cb68a..4c8ab5a 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -141,6 +141,9 @@ void SvpSalGraphics::clipRegion(cairo_t* cr)
 namespace
 {
 #if CAIRO_VERSION_MAJOR == 1 && CAIRO_VERSION_MINOR < 10
+
+#define CAIRO_OPERATOR_DIFFERENCE (static_cast<cairo_operator_t>(23))
+
     struct cairo_rectangle_int_t
     {
         double x;


More information about the Libreoffice-commits mailing list