summaryrefslogtreecommitdiff
path: root/sc/source/core/data/colorscale.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 08:38:35 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 10:16:25 +0200
commit9760db660a3b9db267a9fc635e2cb1e4136cf5f3 (patch)
treed1171573618144a72952de9fb45281b8ed1e7826 /sc/source/core/data/colorscale.cxx
parent553f7e515d9183d50221bbda9e8e6a023e4d6c57 (diff)
clang-tidy performance-unnecessary-value-param in sc
Change-Id: Ia2255e1e3f7a8834a4b5d2a6bbab2c6dd498d356
Diffstat (limited to 'sc/source/core/data/colorscale.cxx')
-rw-r--r--sc/source/core/data/colorscale.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index bdf306f42f05..71ffe744759e 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -102,7 +102,7 @@ void ScFormulaListener::addTokenArray(ScTokenArray* pArray, const ScRange& rRang
startListening(pArray, rRange);
}
-void ScFormulaListener::setCallback(std::function<void()> aCallback)
+void ScFormulaListener::setCallback(const std::function<void()>& aCallback)
{
maCallbackFunction = aCallback;
}