diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-28 18:01:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-29 12:14:22 +0200 |
commit | e593b623dad9456d3452c4c537479596bcd0b00b (patch) | |
tree | d9d21031cdd75df25749de8c6ae5b9c0afb1c196 /extensions/source/abpilot | |
parent | a612d738a8c909e18ed89675432ca42b376ef624 (diff) |
loplugin:stringloop in various
Change-Id: Ic2436c6d94729211cd5bc72fee18af228381e4a3
Reviewed-on: https://gerrit.libreoffice.org/58250
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/abpilot')
-rw-r--r-- | extensions/source/abpilot/datasourcehandling.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index 0923e9902943..847518e1301a 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -229,8 +229,7 @@ namespace abp sal_Int32 nPostfix = 1; while ( ( m_pImpl->aDataSourceNames.end() != aPos ) && ( nPostfix < 65535 ) ) { // there already is a data source with this name - sCheck = _rDataSourceName; - sCheck += OUString::number( nPostfix++ ); + sCheck = _rDataSourceName + OUString::number( nPostfix++ ); aPos = m_pImpl->aDataSourceNames.find( sCheck ); } |