[Libreoffice-commits] core.git: chart2/source
Laurent Balland-Poirier
laurent.balland-poirier at laposte.net
Fri Oct 9 00:19:36 PDT 2015
chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit 32b2668f2fe9d8d4e5afc0c32f05c182f4fb006c
Author: Laurent Balland-Poirier <laurent.balland-poirier at laposte.net>
Date: Tue Oct 6 21:56:50 2015 +0200
Moving average trendline equation: remove initialisation
Change-Id: I3fa01a2d03e7de6438d0db0685e53e6b7ca6c25a
Reviewed-on: https://gerrit.libreoffice.org/19218
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx b/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx
index ee61c9c..410f8d6 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
More information about the Libreoffice-commits
mailing list