For me it throws uno::DeploymentException, not deployment::DeploymentException
Change-Id: I1104a2b4e551f80c748054f32a37540190076805
This commit is contained in:
parent
b91b5e98d0
commit
b404024600
1 changed files with 2 additions and 0 deletions
|
@ -487,6 +487,8 @@ LngSvcMgr::LngSvcMgr()
|
||||||
uno::Reference<deployment::XExtensionManager> xExtensionManager;
|
uno::Reference<deployment::XExtensionManager> xExtensionManager;
|
||||||
try {
|
try {
|
||||||
xExtensionManager = deployment::ExtensionManager::get(xContext);
|
xExtensionManager = deployment::ExtensionManager::get(xContext);
|
||||||
|
} catch ( const uno::DeploymentException & ) {
|
||||||
|
SAL_WARN( "linguistic", "no extension manager - should fire on mobile only" );
|
||||||
} catch ( const deployment::DeploymentException & ) {
|
} catch ( const deployment::DeploymentException & ) {
|
||||||
SAL_WARN( "linguistic", "no extension manager - should fire on mobile only" );
|
SAL_WARN( "linguistic", "no extension manager - should fire on mobile only" );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue