summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xeformula.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-09 15:43:41 +0200
committerNoel Grandin <noel@peralex.com>2016-03-10 10:09:59 +0200
commit4358dc795cbd2b49aa87c89795cf63413b82400c (patch)
treeb112046a74791f03b7971d1c22a0d2cb9aa39955 /sc/source/filter/excel/xeformula.cxx
parentf946e905c6c6bb041ae580b14b711c6964af97bd (diff)
loplugin:constantparam in sc
Change-Id: Ia7bc394fdc0dba720751c2a58d55bfe34b239098
Diffstat (limited to 'sc/source/filter/excel/xeformula.cxx')
-rw-r--r--sc/source/filter/excel/xeformula.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx
index d372e8a1d036..29ac7a0be289 100644
--- a/sc/source/filter/excel/xeformula.cxx
+++ b/sc/source/filter/excel/xeformula.cxx
@@ -331,7 +331,7 @@ private:
// XclExpScToken: pass-by-value and return-by-value is intended
const FormulaToken* GetNextRawToken();
- const FormulaToken* PeekNextRawToken( bool bSkipSpaces ) const;
+ const FormulaToken* PeekNextRawToken() const;
bool GetNextToken( XclExpScToken& rTokData );
XclExpScToken GetNextToken();
@@ -796,7 +796,7 @@ const FormulaToken* XclExpFmlaCompImpl::GetNextRawToken()
return pScToken;
}
-const FormulaToken* XclExpFmlaCompImpl::PeekNextRawToken( bool bSkipSpaces ) const
+const FormulaToken* XclExpFmlaCompImpl::PeekNextRawToken() const
{
/* Returns pointer to next raw token in the token array. The token array
iterator already points to the next token (A call to GetNextToken()
@@ -805,7 +805,7 @@ const FormulaToken* XclExpFmlaCompImpl::PeekNextRawToken( bool bSkipSpaces ) con
created and set to the passed skip-spaces mode. If spaces have to be
skipped, and the iterator currently points to a space token, the
constructor will move it to the next non-space token. */
- XclTokenArrayIterator aTempIt( mxData->maTokArrIt, bSkipSpaces );
+ XclTokenArrayIterator aTempIt( mxData->maTokArrIt, true/*bSkipSpaces*/ );
return aTempIt.Get();
}
@@ -1252,7 +1252,7 @@ void XclExpFmlaCompImpl::ProcessExternal( const XclExpScToken& rTokData )
names and for external/invalid function calls. This function looks for
the next token in the token array. If it is an opening parenthesis, the
token is processed as external function call, otherwise as undefined name. */
- const FormulaToken* pNextScToken = PeekNextRawToken( true );
+ const FormulaToken* pNextScToken = PeekNextRawToken();
if( !pNextScToken || (pNextScToken->GetOpCode() != ocOpen) )
AppendMissingNameToken( rTokData.mpScToken->GetExternal(), rTokData.mnSpaces );
else