[Libreoffice-commits] core.git: vcl/headless

Caolán McNamara caolanm at redhat.com
Thu Jun 25 02:37:16 PDT 2015


 vcl/headless/svpgdi.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a7a95af74badcb745bb1c86c7f9a21444ca12c77
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jun 25 10:35:26 2015 +0100

    stinking ancient cairo impls
    
    Change-Id: I35e826bc78556a912358dfad2fac7c45ca35bfd1

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index ebacfbb..4622e2a 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -138,7 +138,7 @@ void SvpSalGraphics::clipRegion(cairo_t* cr)
 
 bool SvpSalGraphics::drawAlphaRect(long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency)
 {
-#if ENABLE_CAIRO_CANVAS
+#if ENABLE_CAIRO_CANVAS && CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0)
     if (m_bUseLineColor || !m_bUseFillColor)
         return false;
 


More information about the Libreoffice-commits mailing list