summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/tabsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-07 08:42:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-07 10:45:05 +0200
commit868d8c8f0fdf376b0a3eb545ee841c9c12ffee3b (patch)
tree7e8b919732f3d73cfb77974c489ee864103b2882 /sw/source/uibase/shells/tabsh.cxx
parent9479171a09ba4c73afa8b40a5c2590df3b6d5415 (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 'sw/source/uibase/shells/tabsh.cxx')
-rw-r--r--sw/source/uibase/shells/tabsh.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx
index 1a32de2bf9a8..3347c1af6d44 100644
--- a/sw/source/uibase/shells/tabsh.cxx
+++ b/sw/source/uibase/shells/tabsh.cxx
@@ -1061,10 +1061,11 @@ void SwTableShell::Execute(SfxRequest &rReq)
case FN_TABLE_MODE_FIX_PROP :
case FN_TABLE_MODE_VARIABLE :
{
- rSh.SetTableChgMode( ( FN_TABLE_MODE_FIX == nSlot ? TableChgMode::FixedWidthChangeAbs
+ rSh.SetTableChgMode( FN_TABLE_MODE_FIX == nSlot
+ ? TableChgMode::FixedWidthChangeAbs
: FN_TABLE_MODE_FIX_PROP == nSlot
? TableChgMode::FixedWidthChangeProp
- : TableChgMode::VarWidthChangeAbs ) );
+ : TableChgMode::VarWidthChangeAbs );
SfxBindings& rBind = GetView().GetViewFrame()->GetBindings();
static sal_uInt16 aInva[] =