sw: paragraph-sign: process signatures in one pass on loading
commit5d6102ce297f12a81e1d21b4ffc9df1d97d0b847
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>
Wed, 3 Oct 2018 09:53:28 +0000 (3 05:53 -0400)
committerAshod Nakashian <ashnakash@gmail.com>
Thu, 3 Jan 2019 18:12:07 +0000 (3 19:12 +0100)
treececcb733e926c69d9ef75fe078c6f28ba6a3e2b4
parentdd2972d4c323afddc1eca90c88fe6240f40685dd
sw: paragraph-sign: process signatures in one pass on loading

This combines the metadata field restoration logic with
validation/update of said field in one pass upon loading docs.
This cuts down overheads and makes the code more readable.

In addition, now that paragraph signature validation is quite
cheap (separate commits), esp. when no signatures exist, we
validate and update signatures (where applicable) when fields
are updated.

Change-Id: I4adcea579c591f9be457ed742d2cf54fa308163d
Reviewed-on: https://gerrit.libreoffice.org/63008
Tested-by: Jenkins
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
sw/inc/editsh.hxx
sw/source/core/doc/DocumentTimerManager.cxx
sw/source/core/edit/edfcol.cxx
sw/source/core/edit/edws.cxx