summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2019-03-11 21:39:00 +0100
committerEike Rathke <erack@redhat.com>2019-03-12 01:07:14 +0100
commit5c27a048658afcd2f78ef4d7e6c7128554ed3f4c (patch)
treeb4cc1880edbfcf142dea8bc3062e320fdf39a517 /sc
parent45deb5b714d2d011eb2a5ad91721a9c2c508a426 (diff)
Resolves: tdf#120013 tdf#123714 split-off group or single cell needs listening
Change-Id: Ic511f618e9dde2288491c01cfcd889970fd6e4e5 Reviewed-on: https://gerrit.libreoffice.org/69066 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/sharedformula.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/tool/sharedformula.cxx b/sc/source/core/tool/sharedformula.cxx
index 5a488aa36258..4fa12a6dfaed 100644
--- a/sc/source/core/tool/sharedformula.cxx
+++ b/sc/source/core/tool/sharedformula.cxx
@@ -71,6 +71,9 @@ bool SharedFormulaUtil::splitFormulaCellGroup(const CellStoreType::position_type
else
rPrevTop.EndListeningTo( rPrevTop.GetDocument(), nullptr, ScAddress( ScAddress::UNINITIALIZED));
rPrevTop.SetNeedsListening(true);
+
+ // The new group or remaining single cell needs a new listening.
+ rTop.SetNeedsListening(true);
}
#endif