cid#1555404 silence Different smart pointers managing same raw pointer
Change-Id: I6de83a2209129745667e0d3f3768e87a226252e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170320 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
@@ -1090,9 +1090,8 @@ void XMLFilterSettingsDialog::initFilterList()
|
||||
}
|
||||
|
||||
// add entry to internal container and to ui filter list box
|
||||
maFilterVector.push_back( std::unique_ptr<filter_info_impl>(pTempFilter.get()) );
|
||||
addFilterEntry( pTempFilter.release() );
|
||||
|
||||
maFilterVector.push_back(std::move(pTempFilter));
|
||||
addFilterEntry(maFilterVector.back().get());
|
||||
|
||||
pTempFilter.reset( new filter_info_impl );
|
||||
}
|
||||
|
Reference in New Issue
Block a user