diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-16 12:22:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-16 14:08:11 +0100 |
commit | d1419cf8ff4e9f502443012a4e8c31fa25532032 (patch) | |
tree | aeb639791130fe71a4ee4e8ee65804c6f6a500cc | |
parent | fa709289806801b04f34fb780b655e29fe193959 (diff) |
need cairo >= 1.10.0 for these features
Change-Id: I8e1e45caadc6cc537f27a194851dd00b1f1d0e89
-rw-r--r-- | vcl/headless/svpgdi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 66d398ae0d76..3131410aac6e 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -107,7 +107,7 @@ namespace if (rBuffer->getScanlineFormat() != basebmp::Format::ThirtyTwoBitTcMaskBGRX) return false; -#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0) +#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 10, 0) basegfx::B2IVector size = rBuffer->getSize(); sal_Int32 nStride = rBuffer->getScanlineStride(); return (cairo_format_stride_for_width(CAIRO_FORMAT_RGB24, size.getX()) == nStride); @@ -141,7 +141,7 @@ bool SvpSalGraphics::drawAlphaRect(long nX, long nY, long nWidth, long nHeight, bool bRet = false; (void)nX; (void)nY; (void)nWidth; (void)nHeight; (void)nTransparency; #if ENABLE_CAIRO_CANVAS -#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0) +#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 10, 0) if (m_bUseLineColor || !m_bUseFillColor) return bRet; |