Kaydet (Commit) 4d6dc9b8 authored tarafından Eike Rathke's avatar Eike Rathke

ditch the now unused ever cloning PushTempToken(const formula::FormulaToken&)

Change-Id: I0d09039a5f9cb797b5b72f3ee9044eab7c8f05c5
üst a7d645f2
...@@ -264,10 +264,6 @@ void Push( const formula::FormulaToken& r ); ...@@ -264,10 +264,6 @@ void Push( const formula::FormulaToken& r );
explicit formula::FormulaErrorToken. Increments RefCount. */ explicit formula::FormulaErrorToken. Increments RefCount. */
void PushWithoutError( const formula::FormulaToken& r ); void PushWithoutError( const formula::FormulaToken& r );
/** Clones the token to be pushed or substitutes with formula::FormulaErrorToken if
nGlobalError is set and the token passed is not formula::FormulaErrorToken. */
void PushTempToken( const formula::FormulaToken& );
/** Does substitute with formula::FormulaErrorToken in case nGlobalError is set and the token /** Does substitute with formula::FormulaErrorToken in case nGlobalError is set and the token
passed is not formula::FormulaErrorToken. passed is not formula::FormulaErrorToken.
Increments RefCount of the original token if not substituted. Increments RefCount of the original token if not substituted.
......
...@@ -705,12 +705,6 @@ void ScInterpreter::PushTempTokenWithoutError( const FormulaToken* p ) ...@@ -705,12 +705,6 @@ void ScInterpreter::PushTempTokenWithoutError( const FormulaToken* p )
} }
} }
void ScInterpreter::PushTempToken( const FormulaToken& r )
{
if (!IfErrorPushError())
PushTempTokenWithoutError( r.Clone());
}
void ScInterpreter::PushTokenRef( const formula::FormulaConstTokenRef& x ) void ScInterpreter::PushTokenRef( const formula::FormulaConstTokenRef& x )
{ {
if ( sp >= MAXSTACK ) if ( sp >= MAXSTACK )
......
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