sc/source/ui/docshell/docsh4.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit fe39c4dcc6cdf6d00cf893b24b74efb1cd06bde6 Author: Matteo Casalin <matteo.casa...@yahoo.com> AuthorDate: Sun Feb 10 18:13:53 2019 +0100 Commit: Markus Mohrhard <markus.mohrh...@googlemail.com> CommitDate: Sat Feb 16 13:22:10 2019 +0100 Use optimized string concatenation Change-Id: I88499f04630b3a3ee507408435cfbd293a16fba3 Reviewed-on: https://gerrit.libreoffice.org/67655 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index 4fba1567e8bc..20698844aa9e 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -262,9 +262,9 @@ void ScDocShell::Execute( SfxRequest& rReq ) if (!bIsNewArea) { OUString aTemplate = ScResId( STR_IMPORT_REPLACE ); - OUString aMessage = aTemplate.getToken( 0, '#' ); - aMessage += sTarget; - aMessage += aTemplate.getToken( 1, '#' ); + OUString aMessage = aTemplate.getToken( 0, '#' ) + + sTarget + + aTemplate.getToken( 1, '#' ); std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(nullptr, VclMessageType::Question, VclButtonsType::YesNo, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits