[Libreoffice-bugs] [Bug 126004] Crash swlo!SwEditShell::ValidateAllParagraphSignatures

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 19 20:25:50 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=126004

--- Comment #5 from Julien Nabet <serval2412 at yahoo.fr> ---
With this patch, it doesn't crash
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();
but as always, is it a real fix or am I just hiding the root cause.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190619/6cb47b0a/attachment.html>


More information about the Libreoffice-bugs mailing list