Kaydet (Commit) c72498d7 authored tarafından Noel Grandin's avatar Noel Grandin

Revert "loplugin:unreffun"

This reverts commit e3246e80.
Which was a mistake.
üst c29338e6
......@@ -472,6 +472,7 @@ 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();
......@@ -724,6 +725,13 @@ 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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment