diff options
author | Arul Michael <arul71.m@gmail.com> | 2017-04-27 10:32:10 +0530 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-05-12 21:04:00 +0200 |
commit | f55f0b57b1f206763e97065f6121fcb55c53e53d (patch) | |
tree | 3fd507c6f59740b0dc72eecc8aca5e51350d3210 /sc | |
parent | 0f54a0f218834bfcc74b00f0a105785d3099bd40 (diff) |
tdf#106051 Notify listeners on top and bottom of split formula group
Change-Id: Icecb59a476f57cee0c04c3e21d60e6c7fa12f65a
Reviewed-on: https://gerrit.libreoffice.org/37011
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit c882c60f54cc90740a674eed8c47bde0e9959652)
Reviewed-on: https://gerrit.libreoffice.org/37543
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/document.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 80fb075988b8..ee69a89cc3f8 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -5849,6 +5849,12 @@ void ScDocument::DeleteSelection( InsertDeleteFlags nDelFlag, const ScMarkData& if (pRange) SetDirty( *pRange, true); } + //Notify listeners on top and bottom of the group that has been split + for (size_t i = 0; i < aGroupPos.size(); ++i) { + ScFormulaCell *pFormulaCell = GetFormulaCell(aGroupPos[i]); + if (pFormulaCell) + pFormulaCell->SetDirty(true); + } } } } |