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 /sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx | |
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 'sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx index 4e57e1c2a42a..8a009fada4db 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx @@ -357,7 +357,7 @@ OUString ScAccessiblePreviewHeaderCell::createAccessibleName() else { // name of row header - sName += OUString::number( ( maCellPos.Row() + 1 ) ); + sName += OUString::number( maCellPos.Row() + 1 ); } return sName; |