summaryrefslogtreecommitdiff
path: root/formula/source/core/api
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 10:51:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 12:09:24 +0200
commitb1a1baa66a8eb0553df87769d48e3cc7e533a1d8 (patch)
treefe77a0f819887add2fbe03d4cc7a5b9d88cc104e /formula/source/core/api
parent4732e65646016087d772adb3a0b55c166b35356d (diff)
loplugin:constparams in formula,xmlhelp
Change-Id: I1c987d991a5b292df327d1bb921099233b5531fe Reviewed-on: https://gerrit.libreoffice.org/40584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'formula/source/core/api')
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index fce3e1b828c2..8f778bde6b45 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -2590,7 +2590,7 @@ formula::ParamClass FormulaCompiler::GetForceArrayParameter( const FormulaToken*
return ParamClass::Unknown;
}
-void FormulaCompiler::ForceArrayOperator( FormulaTokenRef& rCurr )
+void FormulaCompiler::ForceArrayOperator( FormulaTokenRef const & rCurr )
{
if (!pCurrentFactorToken || (pCurrentFactorToken.get() == rCurr.get()))
return;
@@ -2628,7 +2628,7 @@ void FormulaCompiler::ForceArrayOperator( FormulaTokenRef& rCurr )
}
}
-void FormulaCompiler::CheckSetForceArrayParameter( FormulaTokenRef& rCurr, sal_uInt8 nParam )
+void FormulaCompiler::CheckSetForceArrayParameter( FormulaTokenRef const & rCurr, sal_uInt8 nParam )
{
if (!pCurrentFactorToken)
return;