[Libreoffice-commits] core.git: sw/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sat Jul 13 01:21:43 UTC 2019


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

New commits:
commit 12252f27d108402df02a298bbe1b6e8f290b34d7
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Jun 25 18:27:00 2019 +0200
Commit:     Ashod Nakashian <ashnakash at 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 <ashnakash at 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();
 


More information about the Libreoffice-commits mailing list