[Libreoffice-commits] core.git: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Feb 16 12:23:51 UTC 2019
sc/source/ui/docshell/dbdocimp.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 6637d32cd6f380f68a724499d0850e7944b4e5b6
Author: Matteo Casalin <matteo.casalin at yahoo.com>
AuthorDate: Sun Feb 10 18:14:28 2019 +0100
Commit: Markus Mohrhard <markus.mohrhard at googlemail.com>
CommitDate: Sat Feb 16 13:23:30 2019 +0100
Use optimized string concatenation
Change-Id: If9d9af8255639e4d7e5c2e8020c1b3675498980f
Reviewed-on: https://gerrit.libreoffice.org/67657
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
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 );
}
More information about the Libreoffice-commits
mailing list