diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-17 17:21:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-18 08:49:37 +0200 |
commit | eea6d3951b66f85df60574e10f19a81bfd7529cc (patch) | |
tree | 0509297cd8fb5e59750f45099e04bbea7be968cc /svx | |
parent | 0501869949b65b27303a41fd235a6ec32a4c90a7 (diff) |
loplugin:unnecessaryparen
look for statements like
return (function());
Change-Id: I906cf2183489f87225b99b987caca67e39b26cc3
Reviewed-on: https://gerrit.libreoffice.org/41260
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galctrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx index 60b494366f3b..616fc808e2fb 100644 --- a/svx/source/gallery2/galctrl.cxx +++ b/svx/source/gallery2/galctrl.cxx @@ -382,12 +382,12 @@ void GalleryIconView::KeyInput(const KeyEvent& rKEvt) sal_Int8 GalleryIconView::AcceptDrop(const AcceptDropEvent& /*rEvt*/) { - return(static_cast<GalleryBrowser2*>(GetParent())->AcceptDrop(*this)); + return static_cast<GalleryBrowser2*>(GetParent())->AcceptDrop(*this); } sal_Int8 GalleryIconView::ExecuteDrop(const ExecuteDropEvent& rEvt) { - return(static_cast<GalleryBrowser2*>(GetParent())->ExecuteDrop(rEvt)); + return static_cast<GalleryBrowser2*>(GetParent())->ExecuteDrop(rEvt); } void GalleryIconView::StartDrag(sal_Int8, const Point&) @@ -592,7 +592,7 @@ sal_Int8 GalleryListView::ExecuteDrop( const BrowserExecuteDropEvent& rEvt ) aEvt.maPosPixel.Y() += GetTitleHeight(); - return( static_cast<GalleryBrowser2*>( GetParent() )->ExecuteDrop( aEvt ) ); + return static_cast<GalleryBrowser2*>( GetParent() )->ExecuteDrop( aEvt ); } void GalleryListView::StartDrag( sal_Int8, const Point& rPosPixel ) |