sc/source/ui/docshell/dbdocimp.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 6637d32cd6f380f68a724499d0850e7944b4e5b6
Author:     Matteo Casalin <[email protected]>
AuthorDate: Sun Feb 10 18:14:28 2019 +0100
Commit:     Markus Mohrhard <[email protected]>
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 <[email protected]>

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 );
                             }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to