diff --git a/sc/source/core/data/column4.cxx b/sc/source/core/data/column4.cxx index 4acb374bb673..a8838915af3a 100644 --- a/sc/source/core/data/column4.cxx +++ b/sc/source/core/data/column4.cxx @@ -350,8 +350,7 @@ void ScColumn::CloneFormulaCell( const ScFormulaCell& rSrc, const std::vectorGetGrammar()); + ScFormulaCell* pCell = new ScFormulaCell(rSrc, *pDocument, aPos); pCell->StartListeningTo(aCxt); pCell->SetDirty(); aFormulas.push_back(pCell);