chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 32b2668f2fe9d8d4e5afc0c32f05c182f4fb006c
Author: Laurent Balland-Poirier <laurent.balland-poir...@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 <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noelgran...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to