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 /cui | |
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 'cui')
-rw-r--r-- | cui/source/customize/cfg.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tabarea.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tabline.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 5618aef7e764..287867626123 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -3504,7 +3504,7 @@ OUString SvxIconReplacementDialog::ReplaceIconName( const OUString& rMessage ) sal_uInt16 SvxIconReplacementDialog::ShowDialog() { Execute(); - return ( GetCurButtonId() ); + return GetCurButtonId(); } /******************************************************************************* * diff --git a/cui/source/tabpages/tabarea.cxx b/cui/source/tabpages/tabarea.cxx index 5ee18ede6045..104eadf95bf7 100644 --- a/cui/source/tabpages/tabarea.cxx +++ b/cui/source/tabpages/tabarea.cxx @@ -226,7 +226,7 @@ short SvxAreaTabDialog::Ok() // RET_OK is returned, if at least one // TabPage returns sal_True in FillItemSet(). // This happens by default at the moment. - return( SfxTabDialog::Ok() ); + return SfxTabDialog::Ok(); } diff --git a/cui/source/tabpages/tabline.cxx b/cui/source/tabpages/tabline.cxx index 070c4b4de64e..adade3557343 100644 --- a/cui/source/tabpages/tabline.cxx +++ b/cui/source/tabpages/tabline.cxx @@ -173,7 +173,7 @@ short SvxLineTabDialog::Ok() // We return RET_OK if at least one TabPage in FillItemSet() returns sal_True. // We do this by default at the moment. - return( SfxTabDialog::Ok() ); + return SfxTabDialog::Ok(); } |