summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
authornadith <nadmalinda@gmail.com>2016-07-29 12:22:18 +0530
committerNoel Grandin <noelgrandin@gmail.com>2016-08-01 06:12:30 +0000
commitefef273e2c61b19a63572a71b103e3b1490f15af (patch)
tree1d441e00b15eabd50820cae5e300cc8a6b6bb765 /connectivity/source/commontools
parentdadb28a2fbe3e50361b60cee9dda43b1fba3629e (diff)
tdf#100726: Improve readability of OUString concatenation
this bug fixed in the modules between canvas - cppu Change-Id: I2022b022897dafde20251352376e3facdb9b8d75 Reviewed-on: https://gerrit.libreoffice.org/27663 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/dbtools.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index 1c1dbfe150a9..ea7849eba064 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -1396,8 +1396,7 @@ OUString createUniqueName( const Sequence< OUString >& _rNames, const OUString&
while ( aUsedNames.find( sName ) != aUsedNames.end() )
{
- sName = _rBaseName;
- sName += OUString::number( ++nPos );
+ sName = _rBaseName + OUString::number( ++nPos );
}
return sName;
}