diff options
Diffstat (limited to 'desktop/source/app/app.cxx')
-rw-r--r-- | desktop/source/app/app.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 44598da773ac..7f278e14e546 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1142,14 +1142,13 @@ void impl_checkRecoveryState(bool& bCrashed , bool impl_callRecoveryUI(bool bEmergencySave , bool bExistsRecoveryData) { - static const char SERVICENAME_RECOVERYUI[] = "com.sun.star.comp.svx.RecoveryUI"; static const char COMMAND_EMERGENCYSAVE[] = "vnd.sun.star.autorecovery:/doEmergencySave"; static const char COMMAND_RECOVERY[] = "vnd.sun.star.autorecovery:/doAutoRecovery"; css::uno::Reference< css::uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext(); Reference< css::frame::XSynchronousDispatch > xRecoveryUI( - xContext->getServiceManager()->createInstanceWithContext(SERVICENAME_RECOVERYUI, xContext), + xContext->getServiceManager()->createInstanceWithContext("com.sun.star.comp.svx.RecoveryUI", xContext), css::uno::UNO_QUERY_THROW); Reference< css::util::XURLTransformer > xURLParser = |