sc/source/core/data/documen4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0df21bf1f487b673f50c9a8b5466465b18e30c7d Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Fri Feb 15 23:37:29 2013 +0100 Revert "coverity: fix memory leak" This reverts commit b3356f6f772d7d265160927d45f935098784c20e. diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx index 77ebe66..9356e77 100644 --- a/sc/source/core/data/documen4.cxx +++ b/sc/source/core/data/documen4.cxx @@ -185,7 +185,7 @@ void ScDocument::InsertMatrixFormula(SCCOL nCol1, SCROW nRow1, // Zelle ein eigenes Array erhaelt! aPos = ScAddress( j, k, *itr ); t->CalcRelFromAbs( aPos ); - pCell = new ScFormulaCell( this, aPos, &aArr, eGram, MM_REFERENCE ); + pCell = new ScFormulaCell( this, aPos, aArr.Clone(), eGram, MM_REFERENCE ); maTabs[*itr]->PutCell(j, k, (ScBaseCell*) pCell); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits