summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-17 09:01:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-17 09:32:03 +0100
commit23885b06b185142d6ef4a3ceccfd3b5ad915a65f (patch)
tree868cf1ca4c2d1f9e18136497fc745a74b365bced /slideshow
parent4a64a68c6828b7cf0e57ee40817f4ab1a8a75aea (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 'slideshow')
-rw-r--r--slideshow/source/engine/transitions/slidetransitionfactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/transitions/slidetransitionfactory.cxx b/slideshow/source/engine/transitions/slidetransitionfactory.cxx
index 2f7310410719..8b675e975d13 100644
--- a/slideshow/source/engine/transitions/slidetransitionfactory.cxx
+++ b/slideshow/source/engine/transitions/slidetransitionfactory.cxx
@@ -221,7 +221,7 @@ public:
if( ( *aIter )->mpView == rView )
{
SAL_INFO("slideshow", "view removed" );
- delete ( *aIter );
+ delete *aIter;
maTransitions.erase( aIter );
break;
}