diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-01 18:23:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-02 08:39:14 +0200 |
commit | 91c836acea76cffb0e2d5df0d15fc94d84bfdc5a (patch) | |
tree | 24b688ec199566fd692aa7b7f22d772c1e484a8c /sw/source/ui/misc/num.cxx | |
parent | 9d99dc8a835d66cbe27e4cbf5869e6704dd781f9 (diff) |
loplugin:stringadd in sw
Change-Id: I72e1cbc229a47660b2313f46898753e273b69d35
Reviewed-on: https://gerrit.libreoffice.org/79985
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/misc/num.cxx')
-rw-r--r-- | sw/source/ui/misc/num.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx index ae637765fbe5..b5bccf498633 100644 --- a/sw/source/ui/misc/num.cxx +++ b/sw/source/ui/misc/num.cxx @@ -125,8 +125,7 @@ SwNumPositionTabPage::SwNumPositionTabPage(weld::Container* pPage, weld::DialogC // insert levels for(sal_uInt16 i = 1; i <= MAXLEVEL; i++) m_xLevelLB->append_text(OUString::number(i)); - OUString sEntry("1 - "); - sEntry += OUString::number(MAXLEVEL); + OUString sEntry = "1 - " + OUString::number(MAXLEVEL); m_xLevelLB->append_text(sEntry); m_xLevelLB->select_text(sEntry); |