diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-14 12:55:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-14 13:27:31 +0200 |
commit | e3246e806cad5f9d2c05c3408adc3019da5a575d (patch) | |
tree | cd471ed5a7b15adacee7dee8f452cfb6986ecc78 /sc | |
parent | 06a40a242fe1382a208cfb85857f371d0a6a5fa5 (diff) |
loplugin:unreffun
Change-Id: Ib64683372d89896e7fbac7ac9acb608c5470531c
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/oox/formulaparser.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sc/source/filter/oox/formulaparser.cxx b/sc/source/filter/oox/formulaparser.cxx index 41331fb55d82..1e63e9dc601e 100644 --- a/sc/source/filter/oox/formulaparser.cxx +++ b/sc/source/filter/oox/formulaparser.cxx @@ -472,7 +472,6 @@ protected: size_t appendWhiteSpaceTokens( const WhiteSpaceVec* pSpaces ); size_t insertWhiteSpaceTokens( const WhiteSpaceVec* pSpaces, size_t nIndexFromEnd ); - size_t getOperandSize( size_t nOpCountFromEnd, size_t nOpIndex ) const; void pushOperandSize( size_t nSize ); size_t popOperandSize(); @@ -725,13 +724,6 @@ size_t FormulaParserImpl::insertWhiteSpaceTokens( const WhiteSpaceVec* pSpaces, return pSpaces ? pSpaces->size() : 0; } -size_t FormulaParserImpl::getOperandSize( size_t nOpCountFromEnd, size_t nOpIndex ) const -{ - OSL_ENSURE( (nOpIndex < nOpCountFromEnd) && (nOpCountFromEnd <= maOperandSizeStack.size()), - "FormulaParserImpl::getOperandSize - invalid parameters" ); - return maOperandSizeStack[ maOperandSizeStack.size() - nOpCountFromEnd + nOpIndex ]; -} - void FormulaParserImpl::pushOperandSize( size_t nSize ) { maOperandSizeStack.push_back( nSize ); |