summaryrefslogtreecommitdiff
path: root/sc/source/core/inc/interpre.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2020-04-27 23:12:42 +0200
committerEike Rathke <erack@redhat.com>2020-04-28 11:26:38 +0200
commit716655820d69a0d6aaa2714cb4f12bae1aa2b862 (patch)
treef4241181eefab18c2217d056197f7d93c50ad410 /sc/source/core/inc/interpre.hxx
parenta02d059d3ef03246c226fa9fc499920f7bd4ffc8 (diff)
Resolves: tdf#127831 implement RAND.NV() and RANDBETWEEN.NV() non-volatile
Same as RAND() and RANDBETWEEN() but not recalculating on every change, just the normal expression recalculation. Change-Id: I8ba7099125e487a78bd3d91db8b666c2f36b22fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92994 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/core/inc/interpre.hxx')
-rw-r--r--sc/source/core/inc/interpre.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 4cecd7ef3058..9aaeeb96259c 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -530,6 +530,9 @@ private:
void ScUnionFunc();
void ScPi();
void ScRandom();
+ void ScRandbetween();
+ void ScRandomImpl( const std::function<double( double fFirst, double fLast )>& RandomFunc,
+ double fFirst, double fLast );
void ScTrue();
void ScFalse();
void ScDeg();