sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a5a2c9c83da3a3cc01a9262d6c659c99ad58b152 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> Date: Thu Mar 2 09:30:21 2017 +0100 tdf#104117 set template parameter sal_Int64 for random Change-Id: Ie8cef4375608df160b383ff74c32838f00e60aba Reviewed-on: https://gerrit.libreoffice.org/34777 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoff...@kohei.us> (cherry picked from commit 23672df737258391bd9533e61733c6cc70b9a5eb) Reviewed-on: https://gerrit.libreoffice.org/34818 Reviewed-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx index e1e07f4..e69e9f9 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;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits