summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-03 09:29:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-03 14:03:54 +0200
commit7cc1d3437a48140382773bf41401a46a3ced4706 (patch)
tree5e038178bb0b2699bb9314bd02fb7e197597ecb2 /extensions
parentb912eafa33227a5622c5a4310948cfa07c984726 (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 'extensions')
-rw-r--r--extensions/source/dbpilots/groupboxwiz.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx
index 9d74990ee0ac..ead0e4a4e48e 100644
--- a/extensions/source/dbpilots/groupboxwiz.cxx
+++ b/extensions/source/dbpilots/groupboxwiz.cxx
@@ -227,7 +227,7 @@ namespace dbp
for (sal_Int32 i=0; i<m_xExistingRadios->n_children(); ++i)
{
rSettings.aLabels.push_back(m_xExistingRadios->get_text(i));
- rSettings.aValues.push_back(OUString::number((i + 1)));
+ rSettings.aValues.push_back(OUString::number(i + 1));
}
return true;