[Libreoffice-commits] core.git: sc/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Fri Feb 15 14:44:54 PST 2013
sc/source/core/data/documen4.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0df21bf1f487b673f50c9a8b5466465b18e30c7d
Author: Markus Mohrhard <markus.mohrhard at 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);
}
}
More information about the Libreoffice-commits
mailing list