Kaydet (Commit) 22763347 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity: fix memory leak

Change-Id: I1c4e6cd0b60047de45a4782bfebb8520b1a17f22
üst 3ed5ab5e
......@@ -201,6 +201,7 @@ void adjustDBRange(ScToken* pToken, ScDocument& rNewDoc, const ScDocument* pOldD
if (!pNewDBCollection)
{
pNewDBCollection = new ScDBCollection(&rNewDoc);
rNewDoc.SetDBCollection(pNewDBCollection);
}
ScDBCollection::NamedDBs& aNewNamedDBs = pNewDBCollection->getNamedDBs();
ScDBData* pNewDBData = aNewNamedDBs.findByUpperName(aDBName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment