summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorGökhan Gurbetoğlu <gokhan.gurbetoglu@pardus.org.tr>2016-08-24 14:43:05 +0300
committerNoel Grandin <noelgrandin@gmail.com>2016-08-26 07:15:34 +0000
commit674e0f0b43392a7e7fa515dad8427ccc901f7a01 (patch)
treebc2544d497b2dca7b2f5f8f1fbc704ed5f098b61 /desktop
parentea9a90d83d92076d41abfd31a1fd3a5d84b6ba92 (diff)
tdf#100726 - Improve readability of OUString concatanations
Change-Id: I3099818283a9801976288d0efa67a8711106f376 Reviewed-on: https://gerrit.libreoffice.org/28360 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/migration/migration.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index db40b4dfec45..3d1383d616cc 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -900,14 +900,15 @@ void MigrationImpl::runServices()
} catch (const Exception& e) {
- OString aMsg("Execution of migration service failed (Exception caught).\nService: ");
- aMsg += OUStringToOString(i_mig->service, RTL_TEXTENCODING_ASCII_US) + "\nMessage: ";
- aMsg += OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US);
+ OString aMsg = "Execution of migration service failed (Exception caught).\nService: "
+ + OUStringToOString(i_mig->service, RTL_TEXTENCODING_ASCII_US)
+ + "\nMessage: "
+ + OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US);
OSL_FAIL(aMsg.getStr());
} catch (...) {
- OString aMsg("Execution of migration service failed (Exception caught).\nService: ");
- aMsg += OUStringToOString(i_mig->service, RTL_TEXTENCODING_ASCII_US) +
- "\nNo message available";
+ OString aMsg = "Execution of migration service failed (Exception caught).\nService: "
+ + OUStringToOString(i_mig->service, RTL_TEXTENCODING_ASCII_US)
+ + "\nNo message available";
OSL_FAIL(aMsg.getStr());
}