diff options
author | Arul Michael <arul71.m@gmail.com> | 2017-04-27 10:32:10 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-05-16 10:16:37 +0200 |
commit | 97a12d7463f1e0ed0e381f3d750b21d0a60be41e (patch) | |
tree | 8a8bca26e81ac3dc50d66fb7525a70eb266f72f6 | |
parent | ada01a71f310fe3a463d85968d9fcbc0c3484b7f (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
(cherry picked from commit f55f0b57b1f206763e97065f6121fcb55c53e53d)
-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); + } } } } |