[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sc/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Sun Jul 31 19:47:57 UTC 2016
sc/source/ui/view/gridwin.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 22104afbcdff53b36459bfdaeeeaca27f5aa9650
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sat Jul 30 22:08:08 2016 +0200
add missing nullptr check
See
http://crashreport.libreoffice.org/stats/crash_details/07407baf-17dc-4c39-8020-4975797d89cc
Change-Id: Ia10cf6555869a402bd16fbb5a272b1ccb03b12fb
Reviewed-on: https://gerrit.libreoffice.org/27737
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index ffaa9d9..70c05c0 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5771,7 +5771,8 @@ void ScGridWindow::DeleteCursorOverlay()
{
ScDocument* pDoc = pViewData->GetDocument();
ScDrawLayer* pDrawLayer = pDoc->GetDrawLayer();
- pDrawLayer->libreOfficeKitCallback(LOK_CALLBACK_CELL_CURSOR, "EMPTY");
+ if (pDrawLayer)
+ pDrawLayer->libreOfficeKitCallback(LOK_CALLBACK_CELL_CURSOR, "EMPTY");
mpOOCursors.reset();
}
More information about the Libreoffice-commits
mailing list