diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-08-25 20:47:30 -0400 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2017-08-28 03:50:54 +0200 |
commit | 2c3dfd9d3bafc6ad84d750c7bec935b5b164e7f7 (patch) | |
tree | 8a7f1e5875063abc42b4a4a5ac0e9dc0572b6c9f | |
parent | 3eb31b506a2860eba3a578333a6486ee2a518c1a (diff) |
sw: invalidate paragraph signature on edit
Change-Id: I7267b1492f2eff043058a9322286f742338a2335
Reviewed-on: https://gerrit.libreoffice.org/41593
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index 8391a652df2f..8031dd2fe8b0 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -1211,6 +1211,12 @@ void SwTextNode::Update( if (pSortedObjs) pSortedObjs->UpdateAll(); + // Update the paragraph signatures. + if (SwEditShell* pEditShell = GetDoc()->GetEditShell()) + { + pEditShell->ValidateParagraphSignatures(false); + } + // Inform LOK clients about change in position of redlines (if any) if (comphelper::LibreOfficeKit::isActive()) { |