For me it throws uno::DeploymentException, not deployment::DeploymentException

Change-Id: I1104a2b4e551f80c748054f32a37540190076805
This commit is contained in:
Tor Lillqvist 2012-10-12 21:28:57 +03:00 committed by Tor Lillqvist
parent b91b5e98d0
commit b404024600

View file

@ -487,6 +487,8 @@ LngSvcMgr::LngSvcMgr()
uno::Reference<deployment::XExtensionManager> xExtensionManager;
try {
xExtensionManager = deployment::ExtensionManager::get(xContext);
} catch ( const uno::DeploymentException & ) {
SAL_WARN( "linguistic", "no extension manager - should fire on mobile only" );
} catch ( const deployment::DeploymentException & ) {
SAL_WARN( "linguistic", "no extension manager - should fire on mobile only" );
}