coverity#1158232 have a stab at silencing warning with function markup
and coverity#983117 Resource leak Change-Id: I9dd71c64894191ff767e711f685d48f27308f445
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user