diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index 8edc854d0431..a98822369308 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -2365,7 +2365,6 @@ bool ScTable::DoSubTotals( ScSubTotalParam& rParam ) aArr.AddOpCode( ocSep ); aArr.AddDoubleReference( aRef ); aArr.AddOpCode( ocClose ); - aArr.AddOpCode( ocStop ); ScFormulaCell* pCell = new ScFormulaCell( rDocument, ScAddress(group.col(nResult), rRowEntry.nDestRow, nTab), aArr); if ( rParam.bIncludePattern ) diff --git a/sc/source/core/tool/consoli.cxx b/sc/source/core/tool/consoli.cxx index aa8dbcc3eedb..1e8b4af980f7 100644 --- a/sc/source/core/tool/consoli.cxx +++ b/sc/source/core/tool/consoli.cxx @@ -477,7 +477,6 @@ void ScConsData::OutputToDocument( ScDocument& rDestDoc, SCCOL nCol, SCROW nRow, ScTokenArray aRefArr(rDestDoc); aRefArr.AddSingleReference(aSRef); - aRefArr.AddOpCode(ocStop); ScAddress aDest( sal::static_int_cast(nCol+nArrX), sal::static_int_cast(nRow+nArrY+nPos), nTab ); ScFormulaCell* pCell = new ScFormulaCell(rDestDoc, aDest, aRefArr); @@ -499,7 +498,6 @@ void ScConsData::OutputToDocument( ScDocument& rDestDoc, SCCOL nCol, SCROW nRow, aArr.AddOpCode(ocOpen); aArr.AddDoubleReference(aCRef); aArr.AddOpCode(ocClose); - aArr.AddOpCode(ocStop); ScFormulaCell* pCell = new ScFormulaCell(rDestDoc, aDest, aArr); rDestDoc.SetFormulaCell(aDest, pCell); } diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx index 759c57f6e502..a922ad24b943 100644 --- a/sc/source/core/tool/dbdata.cxx +++ b/sc/source/core/tool/dbdata.cxx @@ -882,7 +882,6 @@ void ScDBData::ImportTotalRowParam(ScSubTotalParam& rSubTotalParam, pArr->AddOpCode(ocTableRefClose); // Table refs structure end pArr->AddOpCode(ocClose); - pArr->AddOpCode(ocStop); // Store vColFuncs.push_back(std::make_pair(nCol, std::move(pArr))); } diff --git a/sc/source/ui/docshell/tablink.cxx b/sc/source/ui/docshell/tablink.cxx index 9dcfb270452a..9d11e6b3576d 100644 --- a/sc/source/ui/docshell/tablink.cxx +++ b/sc/source/ui/docshell/tablink.cxx @@ -294,7 +294,6 @@ bool ScTableLink::Refresh(const OUString& rNewFile, const OUString& rNewFilter, aTokenArr.AddOpCode( ocNotAvail ); aTokenArr.AddOpCode( ocOpen ); aTokenArr.AddOpCode( ocClose ); - aTokenArr.AddOpCode( ocStop ); for (size_t nPos=0; nPos < nRanges; nPos++) { diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx index 96bf71fdd890..0a87648434d0 100644 --- a/sc/source/ui/unoobj/funcuno.cxx +++ b/sc/source/ui/unoobj/funcuno.cxx @@ -626,7 +626,6 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const OUString& aName, bArgErr = true; // invalid type } aTokenArr.AddOpCode(ocClose); - aTokenArr.AddOpCode(ocStop); // execute formula