summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr4.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 64b151d2ea9c..2d9ff53d912c 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -4394,10 +4394,10 @@ StackVar ScInterpreter::Interpret()
// Not all functions pop all parameters in case an error is
// generated. Clean up stack. Assumes that every function pushes a
// result, may be arbitrary in case of error.
- const FormulaToken* pLocalResult = pStack[ sp - 1 ];
+ FormulaConstTokenRef xLocalResult = pStack[ sp - 1 ];
while (sp > nStackBase)
Pop();
- PushTempToken( *pLocalResult );
+ PushTokenRef( xLocalResult );
}
bool bGotResult;
@@ -4543,13 +4543,13 @@ StackVar ScInterpreter::Interpret()
break;
case svExternalSingleRef:
{
- ScExternalRefCache::TokenRef pToken;
+ FormulaTokenRef xToken;
ScExternalRefCache::CellFormat aFmt;
- PopExternalSingleRef(pToken, &aFmt);
+ PopExternalSingleRef(xToken, &aFmt);
if (nGlobalError)
break;
- PushTempToken(*pToken);
+ PushTokenRef(xToken);
if (aFmt.mbIsSet)
{