tdf#99938 : Allow batch of formula-cells to be written...
commit1bfbe2a44021ca4ae6716caa39fc8a375914be5c
authorDennis Francis <dennis.francis@collabora.com>
Sat, 4 May 2019 16:19:44 +0000 (4 21:49 +0530)
committerEike Rathke <erack@redhat.com>
Mon, 20 May 2019 13:43:41 +0000 (20 15:43 +0200)
treea6a633e7a4f19c437442492e378002bd545f8a67
parent6b2cff82957e8b2c2ca729f076e6d798a74830e6
tdf#99938 : Allow batch of formula-cells to be written...

using a single undo document from ScMovingAverageDialog
rather than write tons of formula-cells to the document
one by one thus creating that many number of undo docs
unnecessarily.

Change-Id: I2528e0ab47f83e0c5ea40c73d00db5af14f656e0
Reviewed-on: https://gerrit.libreoffice.org/71823
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
sc/inc/cellvalues.hxx
sc/source/core/data/cellvalues.cxx
sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx
sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx
sc/source/ui/docshell/docfunc.cxx
sc/source/ui/inc/TableFillingAndNavigationTools.hxx
sc/source/ui/inc/docfunc.hxx
sc/source/ui/inc/undocell.hxx
sc/source/ui/undo/undocell2.cxx