diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-31 18:57:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-31 18:59:49 +0000 |
commit | 4ad4540e33c431a8b4b5b1692cee3432de88b3f1 (patch) | |
tree | ee19a77a1ca928b14271915b2c22f3c33c4301cc /sc/source/ui/StatisticsDialogs | |
parent | e4b0d63c134e7833db562f4eef93bbf828ea1b9d (diff) |
coverity#1267677 Big parameter passed by value
Change-Id: I04a96e13eb4f17a6fa91435eff104fd95a902cf2
Diffstat (limited to 'sc/source/ui/StatisticsDialogs')
-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 954caddc7749..ee906d410857 100644 --- a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx @@ -252,7 +252,7 @@ void ScRandomNumberGeneratorDialog::SelectGeneratorAndGenerateNumbers() } template<class RNG> -void ScRandomNumberGeneratorDialog::GenerateNumbers(RNG randomGenerator, const sal_Int16 aDistributionStringId, boost::optional<sal_Int8> aDecimalPlaces) +void ScRandomNumberGeneratorDialog::GenerateNumbers(RNG& randomGenerator, const sal_Int16 aDistributionStringId, boost::optional<sal_Int8> aDecimalPlaces) { OUString aUndo = SC_STRLOAD(RID_STATISTICS_DLGS, STR_UNDO_DISTRIBUTION_TEMPLATE); OUString aDistributionName = SC_STRLOAD(RID_STATISTICS_DLGS, aDistributionStringId); |