Kaydet (Commit) f70d0343 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1158232 have a stab at silencing warning with function markup

and coverity#983117 Resource leak

Change-Id: I9dd71c64894191ff767e711f685d48f27308f445
üst 9e67015b
...@@ -683,6 +683,7 @@ ScDBData* ScDBCollection::NamedDBs::findByUpperName(const OUString& rName) ...@@ -683,6 +683,7 @@ ScDBData* ScDBCollection::NamedDBs::findByUpperName(const OUString& rName)
return itr == maDBs.end() ? NULL : &(*itr); return itr == maDBs.end() ? NULL : &(*itr);
} }
// coverity[+free : arg-0]
bool ScDBCollection::NamedDBs::insert(ScDBData* p) bool ScDBCollection::NamedDBs::insert(ScDBData* p)
{ {
SAL_WNODEPRECATED_DECLARATIONS_PUSH SAL_WNODEPRECATED_DECLARATIONS_PUSH
......
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