From b404024600df82f996882a1b770d595cf35a2ca9 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 12 Oct 2012 21:28:57 +0300 Subject: [PATCH] For me it throws uno::DeploymentException, not deployment::DeploymentException Change-Id: I1104a2b4e551f80c748054f32a37540190076805 --- linguistic/source/lngsvcmgr.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index ffee4bf1abaf..0e9a6e8a44f6 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -487,6 +487,8 @@ LngSvcMgr::LngSvcMgr() uno::Reference 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" ); }