summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-14 20:16:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-14 21:32:10 +0000
commitdcef874cebf37a05e4f125b18e7c85588dbd12cb (patch)
tree20e78d133eb4e5662f17c054b7bd7ac1aa564894 /sc
parent142df15e950cab713e061a3b46dae667a0010284 (diff)
silence coverity#1266479 Resource leak
Change-Id: Ied44998b48817964f65fbe9f15e6d8cdf56f5e7a
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/chartlis.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index 2bdb2b102c96..0b67d63b0c56 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -577,6 +577,7 @@ void ScChartListenerCollection::FreeUno( const uno::Reference< chart::XChartData
}
// Release all pointers currently managed by the ptr_map container.
+ // coverity[leaked_storage] - no leak, because because we will take care of them below
maListeners.release().release();
// Re-insert the listeners we need to keep.