summaryrefslogtreecommitdiff
path: root/sc/inc/cellvalues.hxx
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2019-05-04 21:49:44 +0530
committerEike Rathke <erack@redhat.com>2019-05-20 15:43:41 +0200
commit1bfbe2a44021ca4ae6716caa39fc8a375914be5c (patch)
treea6a633e7a4f19c437442492e378002bd545f8a67 /sc/inc/cellvalues.hxx
parent6b2cff82957e8b2c2ca729f076e6d798a74830e6 (diff)
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>
Diffstat (limited to 'sc/inc/cellvalues.hxx')
-rw-r--r--sc/inc/cellvalues.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/cellvalues.hxx b/sc/inc/cellvalues.hxx
index 431239835271..4b877c661a1e 100644
--- a/sc/inc/cellvalues.hxx
+++ b/sc/inc/cellvalues.hxx
@@ -15,6 +15,7 @@
#include <vector>
class ScColumn;
+class ScFormulaCell;
namespace svl {
@@ -63,6 +64,7 @@ public:
void swapNonEmpty( ScColumn& rCol );
void assign( const std::vector<double>& rVals );
+ void assign( const std::vector<ScFormulaCell*>& rVals );
size_t size() const;