sw/source/core/doc/DocumentTimerManager.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 12252f27d108402df02a298bbe1b6e8f290b34d7 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Tue Jun 25 18:27:00 2019 +0200 Commit: Ashod Nakashian <ashnak...@gmail.com> CommitDate: Sat Jul 13 03:21:05 2019 +0200 tdf#126004: test EditShell is ok before calling ValidateAllParagraphSignatures See https://bugs.documentfoundation.org/attachment.cgi?id=152295 Change-Id: I6a098a18ef8b119b7cdea7cbabd6d3021bf1fb6f Reviewed-on: https://gerrit.libreoffice.org/74714 Tested-by: Jenkins Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/sw/source/core/doc/DocumentTimerManager.cxx b/sw/source/core/doc/DocumentTimerManager.cxx index 266ee7386875..f13a25559f1f 100644 --- a/sw/source/core/doc/DocumentTimerManager.cxx +++ b/sw/source/core/doc/DocumentTimerManager.cxx @@ -200,7 +200,8 @@ IMPL_LINK_NOARG( DocumentTimerManager, DoIdleJobs, Timer*, void ) m_rDoc.getIDocumentFieldsAccess().UpdateRefFields(); // References // Validate and update the paragraph signatures. - m_rDoc.GetEditShell()->ValidateAllParagraphSignatures(true); + if (m_rDoc.GetEditShell()) + m_rDoc.GetEditShell()->ValidateAllParagraphSignatures(true); pTmpRoot->EndAllAction(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits