[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - sw/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sat Jul 13 22:04:09 UTC 2019


 sw/source/core/doc/DocumentTimerManager.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit fa088732e195500d1e50318d7c88a46e73a307ea
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Jun 25 18:27:00 2019 +0200
Commit:     Xisco FaulĂ­ <xiscofauli at 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Ă­ <xiscofauli at 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();
 


More information about the Libreoffice-commits mailing list