[Libreoffice-bugs] [Bug 126004] Crash swlo!SwEditShell::ValidateAllParagraphSignatures
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 25 11:43:33 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=126004
--- Comment #8 from Xisco FaulĂ <xiscofauli at libreoffice.org> ---
(In reply to Julien Nabet from comment #5)
> 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.
@Julien, Could you please submit a patch to gerrit so others can review it ?
--
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/20190625/5f61e8ca/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list