[Libreoffice-commits] core.git: vcl/skia
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 18 06:03:08 UTC 2020
vcl/skia/gdiimpl.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit b7b4565473b09c771d5a949c394013956f1c4db7
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon Aug 17 17:42:43 2020 +0300
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Tue Aug 18 08:02:30 2020 +0200
Dereference of nullptr
... opening attachment 164348 from tdf#135799
Change-Id: I7d9b38bf34c7120fee39707ed99a0e6e2c2c84e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100878
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx
index c092bb549a22..95fe81ec4e34 100644
--- a/vcl/skia/gdiimpl.cxx
+++ b/vcl/skia/gdiimpl.cxx
@@ -400,6 +400,8 @@ void SkiaSalGraphicsImpl::checkSurface()
void SkiaSalGraphicsImpl::flushDrawing()
{
+ if (!mSurface)
+ return;
checkPendingDrawing();
if (mXorMode)
applyXor();
More information about the Libreoffice-commits
mailing list