summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2019-02-10 18:14:28 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2019-02-16 13:23:30 +0100
commit6637d32cd6f380f68a724499d0850e7944b4e5b6 (patch)
tree691d86eadc1df8344b9f63b18bb8436380d97614 /sc
parent15ec3e8093e9cf8e0119c839ae691629d3a1297a (diff)
Use optimized string concatenation
Change-Id: If9d9af8255639e4d7e5c2e8020c1b3675498980f Reviewed-on: https://gerrit.libreoffice.org/67657 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/dbdocimp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/dbdocimp.cxx b/sc/source/ui/docshell/dbdocimp.cxx
index 612eb4996982..56cc78aa9cfb 100644
--- a/sc/source/ui/docshell/dbdocimp.cxx
+++ b/sc/source/ui/docshell/dbdocimp.cxx
@@ -343,9 +343,9 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam,
if (!(nInserted & 15))
{
OUString aPict = ScResId( STR_PROGRESS_IMPORT );
- OUString aText = aPict.getToken(0,'#');
- aText += OUString::number( nInserted );
- aText += aPict.getToken(1,'#');
+ OUString aText = aPict.getToken(0, '#')
+ + OUString::number( nInserted )
+ + aPict.getToken(1, '#');
aProgress.SetStateText( 0, aText );
}