From f70d03436b7b501e0ed1d745935a204b9b97b855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 7 Feb 2014 09:51:19 +0000 Subject: [PATCH] coverity#1158232 have a stab at silencing warning with function markup and coverity#983117 Resource leak Change-Id: I9dd71c64894191ff767e711f685d48f27308f445 --- sc/source/core/tool/dbdata.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx index e8f171fa4ce0..62e3a36ccf1b 100644 --- a/sc/source/core/tool/dbdata.cxx +++ b/sc/source/core/tool/dbdata.cxx @@ -683,6 +683,7 @@ ScDBData* ScDBCollection::NamedDBs::findByUpperName(const OUString& rName) return itr == maDBs.end() ? NULL : &(*itr); } +// coverity[+free : arg-0] bool ScDBCollection::NamedDBs::insert(ScDBData* p) { SAL_WNODEPRECATED_DECLARATIONS_PUSH