cid#1633319 Resource leak
Change-Id: Icdbc973b6c0d40366a1a261706e21bbb50a8826e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175258 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
001c3919aa
commit
6f6ec0e948
1 changed files with 2 additions and 3 deletions
|
@ -1147,9 +1147,8 @@ void SAL_CALL InternalDataProvider::registerDataSequenceForChanges( const Refere
|
|||
void SAL_CALL InternalDataProvider::insertDataSeries(::sal_Int32 nAfterIndex)
|
||||
{
|
||||
// call the dialog insertion
|
||||
rtl::Reference<ChartModel> xChartModel(m_xChartModel);
|
||||
DataBrowserModel* pDBM = new DataBrowserModel(xChartModel);
|
||||
pDBM->insertDataSeries(nAfterIndex);
|
||||
DataBrowserModel aDBM(m_xChartModel);
|
||||
aDBM.insertDataSeries(nAfterIndex);
|
||||
}
|
||||
|
||||
// ____ XRangeXMLConversion ____
|
||||
|
|
Loading…
Reference in a new issue