[Libreoffice-commits] core.git: chart2/qa

Miklos Vajna vmiklos at collabora.co.uk
Mon Jun 22 05:03:01 PDT 2015


 chart2/qa/extras/chart2_trendcalculators.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit b49dc4f8ab5e6cbae1d13a077233107a2f408b35
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Jun 22 14:01:32 2015 +0200

    loplugin:passstuffbyref
    
    Change-Id: I17d0aa6e9c0322924c5251eb524e06e91ee43ced

diff --git a/chart2/qa/extras/chart2_trendcalculators.cxx b/chart2/qa/extras/chart2_trendcalculators.cxx
index e21f416..24b39c0 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 ();


More information about the Libreoffice-commits mailing list