summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compare.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-06 16:18:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-07 07:21:32 +0100
commitbe354a2abd27548405caf97fdbc814b5a6b06995 (patch)
treea044c734c912a9a194f380d31aabd679772916b2 /sc/source/core/tool/compare.cxx
parentc947a25b3a785f8d43160671f79e3bb503dfb1ae (diff)
loplugin:constparams
Change-Id: Ia322ecf8f80b28c58ec33d17ca9607401a92534b Reviewed-on: https://gerrit.libreoffice.org/45959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/tool/compare.cxx')
-rw-r--r--sc/source/core/tool/compare.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compare.cxx b/sc/source/core/tool/compare.cxx
index 9075cb8ade15..c85b85f41295 100644
--- a/sc/source/core/tool/compare.cxx
+++ b/sc/source/core/tool/compare.cxx
@@ -222,7 +222,7 @@ double CompareFunc( const Compare& rComp, CompareOptions* pOptions )
return fRes;
}
-double CompareFunc( const Compare::Cell& rCell1, double fCell2, CompareOptions* pOptions )
+double CompareFunc( const Compare::Cell& rCell1, double fCell2, const CompareOptions* pOptions )
{
// Keep DoubleError if encountered
// #i40539# if bEmpty is set, bVal/nVal are uninitialized