summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-03-02 09:30:21 +0100
committerKohei Yoshida <libreoffice@kohei.us>2017-03-02 13:37:31 +0000
commit23672df737258391bd9533e61733c6cc70b9a5eb (patch)
treec13301448ec3c39e4909054db6d6ae99d26794c1
parent175458c4cd76bc7e2d7ed3e3f9c504871e6af84f (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>
-rw-r--r--sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx
index 694550a0bfea..eb639e60cc92 100644
--- a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx
@@ -221,7 +221,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;