silence coverity#1266479 Resource leak

Change-Id: Ied44998b48817964f65fbe9f15e6d8cdf56f5e7a
This commit is contained in:
Caolán McNamara
2015-02-14 20:16:58 +00:00
parent 142df15e95
commit dcef874ceb

View File

@@ -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.