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

Mesut Çifci (via logerrit) logerrit at kemper.freedesktop.org
Tue May 12 08:53:08 UTC 2020


 chart2/source/tools/RegressionCurveModel.cxx |   25 ++++++++-----------------
 1 file changed, 8 insertions(+), 17 deletions(-)

New commits:
commit 902e69d1a5473155915522d49f730720797a384f
Author:     Mesut Çifci <mesutcifci97 at gmail.com>
AuthorDate: Fri May 8 21:11:08 2020 +0300
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue May 12 10:52:28 2020 +0200

    tdf#38835 strip out OUString globals
    
    Change-Id: I594a990b628463b7ab5eda5395de8bab5f080534
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93811
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/chart2/source/tools/RegressionCurveModel.cxx b/chart2/source/tools/RegressionCurveModel.cxx
index f40b9389e4b5..5d8d68cb5c7d 100644
--- a/chart2/source/tools/RegressionCurveModel.cxx
+++ b/chart2/source/tools/RegressionCurveModel.cxx
@@ -36,23 +36,14 @@ using ::com::sun::star::beans::Property;
 
 namespace
 {
-static const OUString lcl_aImplementationName_MeanValue(
-    "com.sun.star.comp.chart2.MeanValueRegressionCurve" );
-static const OUString lcl_aImplementationName_Linear(
-    "com.sun.star.comp.chart2.LinearRegressionCurve" );
-static const OUString lcl_aImplementationName_Logarithmic(
-    "com.sun.star.comp.chart2.LogarithmicRegressionCurve" );
-static const OUString lcl_aImplementationName_Exponential(
-    "com.sun.star.comp.chart2.ExponentialRegressionCurve" );
-static const OUString lcl_aImplementationName_Potential(
-    "com.sun.star.comp.chart2.PotentialRegressionCurve" );
-static const OUString lcl_aImplementationName_Polynomial(
-    "com.sun.star.comp.chart2.PolynomialRegressionCurve" );
-static const OUString lcl_aImplementationName_MovingAverage(
-    "com.sun.star.comp.chart2.MovingAverageRegressionCurve" );
-
-static const OUString lcl_aServiceName(
-    "com.sun.star.chart2.RegressionCurve" );
+static const char lcl_aImplementationName_MeanValue[]   = "com.sun.star.comp.chart2.MeanValueRegressionCurve";
+static const char lcl_aImplementationName_Linear[]      = "com.sun.star.comp.chart2.LinearRegressionCurve";
+static const char lcl_aImplementationName_Logarithmic[] = "com.sun.star.comp.chart2.LogarithmicRegressionCurve";
+static const char lcl_aImplementationName_Exponential[] = "com.sun.star.comp.chart2.ExponentialRegressionCurve";
+static const char lcl_aImplementationName_Potential[]   = "com.sun.star.comp.chart2.PotentialRegressionCurve";
+static const char lcl_aImplementationName_Polynomial[]  = "com.sun.star.comp.chart2.PolynomialRegressionCurve";
+static const char lcl_aImplementationName_MovingAverage[] = "com.sun.star.comp.chart2.MovingAverageRegressionCurve";
+static const char lcl_aServiceName[] = "com.sun.star.chart2.RegressionCurve";
 
 enum
 {


More information about the Libreoffice-commits mailing list