summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/formulagroup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/formulagroup.cxx')
-rw-r--r--sc/source/core/tool/formulagroup.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index 09076a831445..21edd7e4c591 100644
--- a/sc/source/core/tool/formulagroup.cxx
+++ b/sc/source/core/tool/formulagroup.cxx
@@ -141,7 +141,7 @@ bool FormulaGroupInterpreterSoftware::interpret(ScDocument& rDoc, const ScAddres
// the group.
ScAddress aTmpPos = rTopPos;
- std::vector<double> aResults;
+ std::vector<formula::FormulaTokenRef> aResults;
aResults.reserve(xGroup->mnLength);
CachedTokensType aCachedTokens;
@@ -256,7 +256,7 @@ bool FormulaGroupInterpreterSoftware::interpret(ScDocument& rDoc, const ScAddres
generateRPNCode(rDoc, aTmpPos, aCode2);
ScInterpreter aInterpreter(pDest, &rDoc, aTmpPos, aCode2);
aInterpreter.Interpret();
- aResults.push_back(aInterpreter.GetResultToken()->GetDouble());
+ aResults.push_back(aInterpreter.GetResultToken());
} // for loop end (xGroup->mnLength)
if (!aResults.empty())