summaryrefslogtreecommitdiff
path: root/include/formula/FormulaCompiler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/formula/FormulaCompiler.hxx')
-rw-r--r--include/formula/FormulaCompiler.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx
index ef1c058eaa4e..64e727bbab61 100644
--- a/include/formula/FormulaCompiler.hxx
+++ b/include/formula/FormulaCompiler.hxx
@@ -368,9 +368,9 @@ private:
set ForceArray at rCurr if so. Set nParam+1 as 1-based
nCurrentFactorParam for subsequent ForceArrayOperator() calls.
*/
- void CheckSetForceArrayParameter( FormulaTokenRef& rCurr, sal_uInt8 nParam );
+ void CheckSetForceArrayParameter( FormulaTokenRef const & rCurr, sal_uInt8 nParam );
- void ForceArrayOperator( FormulaTokenRef& rCurr );
+ void ForceArrayOperator( FormulaTokenRef const & rCurr );
class CurrentFactor
{
@@ -391,7 +391,7 @@ private:
pCompiler->nCurrentFactorParam = nPrevParam;
}
// yes, this operator= may modify the RValue
- void operator=( FormulaTokenRef& r )
+ void operator=( FormulaTokenRef const & r )
{
pCompiler->ForceArrayOperator( r );
pCompiler->pCurrentFactorToken = r;