diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 09:01:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 09:32:03 +0100 |
commit | 23885b06b185142d6ef4a3ceccfd3b5ad915a65f (patch) | |
tree | 868cf1ca4c2d1f9e18136497fc745a74b365bced /desktop | |
parent | 4a64a68c6828b7cf0e57ee40817f4ab1a8a75aea (diff) |
loplugin:unnecessaryparen extend to delete statements
Change-Id: Ic4383ea948876a26f791f0e5b0110cef978a26e1
Reviewed-on: https://gerrit.libreoffice.org/48027
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updatedialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx index 1dcff3df8fb8..ce1fd074f69f 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx @@ -549,11 +549,11 @@ void UpdateDialog::dispose() for ( std::vector< UpdateDialog::Index* >::iterator i( m_ListboxEntries.begin() ); i != m_ListboxEntries.end(); ++i ) { - delete (*i); + delete *i; } for ( std::vector< UpdateDialog::IgnoredUpdate* >::iterator i( m_ignoredUpdates.begin() ); i != m_ignoredUpdates.end(); ++i ) { - delete (*i); + delete *i; } m_pUpdates.disposeAndClear(); m_pchecking.clear(); |