sc/source/ui/view/notemark.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 0f4a9e338cab2f09541e61530b4cdd9fde47c33a Author: Eike Rathke <er...@redhat.com> Date: Thu Dec 7 12:58:10 2017 +0100 Check pDrawView Change-Id: I88351676e7a11800b84b64afc57f91dddaed8eb6 diff --git a/sc/source/ui/view/notemark.cxx b/sc/source/ui/view/notemark.cxx index 5189426378e1..b92e7c278b70 100644 --- a/sc/source/ui/view/notemark.cxx +++ b/sc/source/ui/view/notemark.cxx @@ -101,7 +101,8 @@ IMPL_LINK_NOARG(ScNoteMarker, TimeHdl, Timer *, void) mxObject = ScNoteUtil::CreateTempCaption( *pDoc, aDocPos, *pPage, aUserText, aVisRect, bLeft ); if( mxObject ) { - pDrawView->SyncForGrid(mxObject.get()); + if (pDrawView) + pDrawView->SyncForGrid(mxObject.get()); aRect = mxObject->GetCurrentBoundRect(); // Need to include grid offset: GetCurrentBoundRect is removing it _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits