diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2015-10-06 21:56:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-09 07:19:16 +0000 |
commit | 32b2668f2fe9d8d4e5afc0c32f05c182f4fb006c (patch) | |
tree | 119db67191552855defda7f7fe3ec4b24fd58286 /chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx | |
parent | 9a94e06a36596a9f71419b660ed2aec4d1ebca3c (diff) |
Moving average trendline equation: remove initialisation
Change-Id: I3fa01a2d03e7de6438d0db0685e53e6b7ca6c25a
Reviewed-on: https://gerrit.libreoffice.org/19218
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx')
-rw-r--r-- | chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx b/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx index ee61c9c7cd9a..410f8d6be021 100644 --- a/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx +++ b/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx @@ -103,11 +103,7 @@ OUString MovingAverageRegressionCurveCalculator::ImplGetRepresentation( const uno::Reference< util::XNumberFormatter >& /*xNumFormatter*/, ::sal_Int32 /*nNumberFormatKey*/ ) const { - OUStringBuffer aBuf( "f(x) = N/A"); - - aBuf = SCH_RESSTR( STR_OBJECT_MOVING_AVERAGE_WITH_PARAMETERS ); - - return aBuf.makeStringAndClear(); + return SCH_RESSTR( STR_OBJECT_MOVING_AVERAGE_WITH_PARAMETERS ); } } // namespace chart |