summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/interpr1.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 15:32:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 18:37:07 +0200
commit4bc31abb56f806ee399344160ce0d7c27af48f5e (patch)
treeb8e7f2de6eb05959efee47bd0ba8bd5adc854e94 /sc/source/core/tool/interpr1.cxx
parent9bf762769826a872e196051a9ec0540a598973de (diff)
loplugin:const* make some params and methods const
Change-Id: If621bb2585fda4afef4be9a189c7f4c00008d358 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104029 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/tool/interpr1.cxx')
-rw-r--r--sc/source/core/tool/interpr1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 42bdee5716f9..9eeddab062f7 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -2232,7 +2232,7 @@ static bool lcl_FormatHasOpenPar( const SvNumberformat* pFormat )
namespace {
-void getFormatString(SvNumberFormatter* pFormatter, sal_uLong nFormat, OUString& rFmtStr)
+void getFormatString(const SvNumberFormatter* pFormatter, sal_uLong nFormat, OUString& rFmtStr)
{
rFmtStr = pFormatter->GetCalcCellReturn( nFormat);
}