sw/source/core/edit/edws.cxx | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 3daf54cb807b1841335d0da935c17149f9d9873f Author: Ashod Nakashian <ashod.nakash...@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 <c...@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnak...@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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits