sw/source/core/doc/DocumentTimerManager.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit fa088732e195500d1e50318d7c88a46e73a307ea Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Tue Jun 25 18:27:00 2019 +0200 Commit: Xisco Faulí <xiscofa...@libreoffice.org> CommitDate: Sun Jul 14 00:03:33 2019 +0200 tdf#126004: test EditShell is ok before calling ValidateAllParagraphSignatures See https://bugs.documentfoundation.org/attachment.cgi?id=152295 Change-Id: I6a098a18ef8b119b7cdea7cbabd6d3021bf1fb6f (cherry picked from commit 12252f27d108402df02a298bbe1b6e8f290b34d7) Reviewed-on: https://gerrit.libreoffice.org/75523 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofa...@libreoffice.org> 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