diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2017-03-02 09:30:21 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-03-15 10:05:34 +0000 |
commit | a5a2c9c83da3a3cc01a9262d6c659c99ad58b152 (patch) | |
tree | 99f2d152d6d6045e63b90f226bb299a91d32cba8 | |
parent | 2a45464d7c9ee9c7bb5af2bc26dcd9a99bb53ef8 (diff) |
tdf#104117 set template parameter sal_Int64 for random
Change-Id: Ie8cef4375608df160b383ff74c32838f00e60aba
Reviewed-on: https://gerrit.libreoffice.org/34777
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
(cherry picked from commit 23672df737258391bd9533e61733c6cc70b9a5eb)
Reviewed-on: https://gerrit.libreoffice.org/34818
Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx index e1e07f456697..e69e9f96cee9 100644 --- a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx @@ -223,7 +223,7 @@ void ScRandomNumberGeneratorDialog::SelectGeneratorAndGenerateNumbers() } case DIST_UNIFORM_INTEGER: { - std::uniform_int_distribution<> distribution(parameterInteger1, parameterInteger2); + std::uniform_int_distribution<sal_Int64> distribution(parameterInteger1, parameterInteger2); auto rng = std::bind(distribution, seed); GenerateNumbers(rng, STR_DISTRIBUTION_UNIFORM_INTEGER, aDecimalPlaces); break; |