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

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Fri Nov 27 14:39:56 PST 2015


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

New commits:
commit 8375e38606aba289e2be09bda43a47ecede54864
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Fri Nov 27 20:11:16 2015 +0100

    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 at gmail.com>
    Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index effbeda..06030d9 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
 


More information about the Libreoffice-commits mailing list