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

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon Aug 28 01:58:52 UTC 2017


 sw/source/core/edit/edws.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 3daf54cb807b1841335d0da935c17149f9d9873f
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Fri Aug 25 20:48:30 2017 -0400

    sw: validate paragraph signatures on load
    
    Change-Id: I5ce2587d15c3f0d47cbc0f06e96246cf4dd984cb
    Reviewed-on: https://gerrit.libreoffice.org/41595
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx
index 4eb1ece5d0aa..13a7452f10cf 100644
--- a/sw/source/core/edit/edws.cxx
+++ b/sw/source/core/edit/edws.cxx
@@ -50,6 +50,10 @@ SwEditShell::SwEditShell( SwDoc& rDoc, vcl::Window *pWindow, const SwViewOption
     {
         GetDoc()->GetIDocumentUndoRedo().DoUndo(true);
     }
+
+    // Update the paragraph signatures.
+    // Since this ctor is called only on creating/loading the doc, we validate once only.
+    ValidateParagraphSignatures(true);
 }
 
 SwEditShell::~SwEditShell() // USED


More information about the Libreoffice-commits mailing list