summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-04-20 15:13:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-04-20 18:40:16 +0200
commit877dea227e44e52f789517471c21615ff2d95716 (patch)
tree08f9d045a974913c0638b75eafda618ea21827ab /chart2/source
parentd9eea89a53248744e6560958b6353176850a5d2a (diff)
return this map by const&
Change-Id: I471bdc5ceb85d19332d32abc8469f90f28947eee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150699 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/tools/RegressionCurveModel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/RegressionCurveModel.cxx b/chart2/source/tools/RegressionCurveModel.cxx
index 66bd21aa84d4..23d3a4d9ac05 100644
--- a/chart2/source/tools/RegressionCurveModel.cxx
+++ b/chart2/source/tools/RegressionCurveModel.cxx
@@ -99,7 +99,7 @@ void lcl_AddPropertiesToVector(
beans::PropertyAttribute::BOUND );
}
-::chart::tPropertyValueMap GetStaticXXXDefaults()
+const ::chart::tPropertyValueMap & GetStaticXXXDefaults()
{
static ::chart::tPropertyValueMap aStaticDefaults =
[](){