diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-22 14:01:32 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-22 14:02:13 +0200 |
commit | b49dc4f8ab5e6cbae1d13a077233107a2f408b35 (patch) | |
tree | 04930b41169ef0783c194f0a0cc6d8c46b0e83f5 /chart2 | |
parent | 3b6df3604e8cee507daf88be95a44ffa8fcff5ed (diff) |
loplugin:passstuffbyref
Change-Id: I17d0aa6e9c0322924c5251eb524e06e91ee43ced
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/qa/extras/chart2_trendcalculators.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/qa/extras/chart2_trendcalculators.cxx b/chart2/qa/extras/chart2_trendcalculators.cxx index e21f4165fcd3..24b39c02b061 100644 --- a/chart2/qa/extras/chart2_trendcalculators.cxx +++ b/chart2/qa/extras/chart2_trendcalculators.cxx @@ -54,8 +54,8 @@ private: void loadCalculatorFromSheet(sal_Int32 nSheet); void checkCalculator( - Sequence< double > xValues, Sequence< double > yValues, - OUString sExpectedFormula ); + const Sequence< double >& xValues, const Sequence< double >& yValues, + const OUString& sExpectedFormula ); }; @@ -95,8 +95,8 @@ void Chart2TrendCalculators::loadCalculatorFromSheet(sal_Int32 nSheet) } void Chart2TrendCalculators::checkCalculator( - Sequence< double > xValues, Sequence< double > yValues, - OUString sExpectedFormula ) + const Sequence< double >& xValues, const Sequence< double >& yValues, + const OUString& sExpectedFormula ) { m_xRegressionCurveCalculator->recalculateRegression( xValues, yValues ); OUString aRepresentation = m_xRegressionCurveCalculator->getRepresentation (); |