summaryrefslogtreecommitdiffstats
path: root/include/formula
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-09 14:48:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-10 08:58:20 +0100
commit5b2f8231945fedc46425e00f1234dcac90628c1d (patch)
tree7cdee4b82bd29d59292d0a4bd4df4e816317192c /include/formula
parenttdf#88206 replace cppu::WeakImplHelper* etc. (diff)
downloadcore-5b2f8231945fedc46425e00f1234dcac90628c1d.tar.gz
core-5b2f8231945fedc46425e00f1234dcac90628c1d.zip
add a SAL_RAND_REPEATABLE for repeatable random nums
merge the formula and comphelper ones together Change-Id: I2e7e2cdb176afc6982e384fa1e007da5b914e6f0
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/random.hxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/include/formula/random.hxx b/include/formula/random.hxx
deleted file mode 100644
index d5d14f54ced9..000000000000
--- a/include/formula/random.hxx
+++ /dev/null
@@ -1,31 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#ifndef INCLUDED_FORMULA_RANDOM_HXX
-#define INCLUDED_FORMULA_RANDOM_HXX
-
-#include <formula/formuladllapi.h>
-
-namespace formula
-{
-
-namespace rng
-{
-
-// These two functions obey the SC_RAND_REPEATABLE environment
-// variable: If it is set, use a fixed seed.
-double FORMULA_DLLPUBLIC fRandom(double a, double b);
-sal_Int32 FORMULA_DLLPUBLIC nRandom(sal_Int32 a, sal_Int32 b);
-
-} // rng
-} // formula
-
-#endif // INCLUDED_FORMULA_RANDOM_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */