From 3eb5ab6efe4229db0ec2bb177d892f2604f49411 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 23 Aug 2017 18:37:52 +0200 Subject: loplugin:constparam in sc part3 Change-Id: I8abc44b9f0bcd5e39fd8a94abafaf80aadcd26ca Reviewed-on: https://gerrit.libreoffice.org/41496 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sc/inc/token.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/inc/token.hxx') diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx index 8d561af85760..7e20b691d96b 100644 --- a/sc/inc/token.hxx +++ b/sc/inc/token.hxx @@ -312,7 +312,7 @@ protected: ScConstMatrixRef xMatrix; formula::FormulaConstTokenRef xUpperLeft; public: - ScMatrixCellResultToken( const ScConstMatrixRef& pMat, formula::FormulaToken* pUL ); + ScMatrixCellResultToken( const ScConstMatrixRef& pMat, const formula::FormulaToken* pUL ); ScMatrixCellResultToken( const ScMatrixCellResultToken& r ); virtual ~ScMatrixCellResultToken() override; virtual double GetDouble() const override; @@ -338,7 +338,7 @@ private: SCROW nRows; SCCOL nCols; public: - ScMatrixFormulaCellToken( SCCOL nC, SCROW nR, const ScConstMatrixRef& pMat, formula::FormulaToken* pUL ); + ScMatrixFormulaCellToken( SCCOL nC, SCROW nR, const ScConstMatrixRef& pMat, const formula::FormulaToken* pUL ); ScMatrixFormulaCellToken( SCCOL nC, SCROW nR ); ScMatrixFormulaCellToken( const ScMatrixFormulaCellToken& r ); virtual ~ScMatrixFormulaCellToken() override; -- cgit