diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-07 08:42:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-07 10:45:05 +0200 |
commit | 868d8c8f0fdf376b0a3eb545ee841c9c12ffee3b (patch) | |
tree | 7e8b919732f3d73cfb77974c489ee864103b2882 /slideshow/source | |
parent | 9479171a09ba4c73afa8b40a5c2590df3b6d5415 (diff) |
loplugin:unnecessaryparen handle parens inside call expr
stick to single-arg function calls, sometimes parens in multi-arg calls
might be there for clarity
Change-Id: Ib80190c571ce65b5d219a88056687042de749e74
Reviewed-on: https://gerrit.libreoffice.org/39676
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/slide/userpaintoverlay.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/slide/userpaintoverlay.cxx b/slideshow/source/engine/slide/userpaintoverlay.cxx index 4440a80b3a91..48b52dc956b2 100644 --- a/slideshow/source/engine/slide/userpaintoverlay.cxx +++ b/slideshow/source/engine/slide/userpaintoverlay.cxx @@ -137,7 +137,7 @@ namespace slideshow //(*aIter)->getCanvas()->clear(); //get via SlideImpl instance the bitmap of the slide unmodified to redraw it - SlideBitmapSharedPtr pBitmap( mrSlide.getCurrentSlideBitmap( (*aIter) ) ); + SlideBitmapSharedPtr pBitmap( mrSlide.getCurrentSlideBitmap( *aIter ) ); ::cppcanvas::CanvasSharedPtr pCanvas( (*aIter)->getCanvas() ); const ::basegfx::B2DHomMatrix aViewTransform( (*aIter)->getTransformation() ); @@ -339,7 +339,7 @@ namespace slideshow { //get via SlideImpl instance the bitmap of the slide unmodified to redraw it - SlideBitmapSharedPtr pBitmap( mrSlide.getCurrentSlideBitmap( (*aIter) ) ); + SlideBitmapSharedPtr pBitmap( mrSlide.getCurrentSlideBitmap( *aIter ) ); ::cppcanvas::CanvasSharedPtr pCanvas( (*aIter)->getCanvas() ); ::basegfx::B2DHomMatrix aViewTransform( (*aIter)->getTransformation() ); |