summaryrefslogtreecommitdiff
path: root/desktop/source/migration/migration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/migration/migration.cxx')
-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());
}