summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-20 11:18:52 +0000
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-08 07:55:31 -0500
commit1a82c3a13cba7f09f182d83aa8cfff1a406538d5 (patch)
treede1ed1d8f3b5b869352694ad6e525d86528d8bca
parentbuild cairo on android (diff)
downloadcore-1a82c3a13cba7f09f182d83aa8cfff1a406538d5.tar.gz
core-1a82c3a13cba7f09f182d83aa8cfff1a406538d5.zip
Resolves: tdf#92687 implement drawPolyPolygon via cairo
modeled on the quartz impl (cherry picked from commit 742da70e6dd2407641835cbcac54b09aeddcb9db) Change-Id: I2f6776c14c7350954932df2bffcca36172f13473
-rw-r--r--vcl/headless/svpgdi.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 8df585f2cdd2..56ee82cd9219 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -42,7 +42,6 @@
#include <sys/stat.h>
#endif
-#include <stdio.h>
inline void dbgOut( const basebmp::BitmapDeviceSharedPtr&
#if OSL_DEBUG_LEVEL > 2
@@ -1068,7 +1067,7 @@ cairo_t* SvpSalGraphics::createCairoContext(const basebmp::BitmapDeviceSharedPtr
{
#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0)
if (!isCairoCompatible(rBuffer))
- return NULL;
+ return nullptr;
basegfx::B2IVector size = rBuffer->getSize();
sal_Int32 nStride = rBuffer->getScanlineStride();