summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorArul Michael <arul71.m@gmail.com>2017-04-27 10:32:10 +0530
committerEike Rathke <erack@redhat.com>2017-05-12 17:16:29 +0200
commitc882c60f54cc90740a674eed8c47bde0e9959652 (patch)
tree950306516f6ebeccee94251d91eb7ad349d75a33 /sc
parent15074f1bfa99d1959bab9975c10d7739d81c603f (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>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/document.cxx6
1 files changed, 6 insertions, 0 deletions
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);
+ }
}
}
}