sc/source/core/data/document.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit c882c60f54cc90740a674eed8c47bde0e9959652 Author: Arul Michael <arul7...@gmail.com> Date: Thu Apr 27 10:32:10 2017 +0530 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 <er...@redhat.com> Tested-by: Jenkins <c...@libreoffice.org> diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index d96451afacad..4e6df253e358 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -5847,6 +5847,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); + } } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits