diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-03 09:29:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-03 14:03:54 +0200 |
commit | 7cc1d3437a48140382773bf41401a46a3ced4706 (patch) | |
tree | 5e038178bb0b2699bb9314bd02fb7e197597ecb2 /svx | |
parent | b912eafa33227a5622c5a4310948cfa07c984726 (diff) |
loplugin:unnecessaryparen small improvement
when calling a function, and passing only one arg, but the
function has defaulted args, we were ignoring this case.
Change-Id: I86517f18e30531127664088ddc09ef96dbd8bdf5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115033
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShape2d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx index 736634c42205..046f5a783c31 100644 --- a/svx/source/customshapes/EnhancedCustomShape2d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx @@ -332,7 +332,7 @@ void EnhancedCustomShape2d::AppendEnhancedCustomShapeEquationParameter( OUString if ( nPara & 0x400 ) { rParameter += "?"; - rParameter += OUString::number( ( nPara & 0xff ) ); + rParameter += OUString::number( nPara & 0xff ); rParameter += " "; } else @@ -351,7 +351,7 @@ void EnhancedCustomShape2d::AppendEnhancedCustomShapeEquationParameter( OUString case DFF_Prop_adjust10Value : { rParameter += "$"; - rParameter += OUString::number( ( nPara - DFF_Prop_adjustValue ) ); + rParameter += OUString::number( nPara - DFF_Prop_adjustValue ); rParameter += " "; } break; |