[Libreoffice-commits] .: linguistic/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Oct 12 23:35:57 PDT 2012


 linguistic/source/lngsvcmgr.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b404024600df82f996882a1b770d595cf35a2ca9
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Oct 12 21:28:57 2012 +0300

    For me it throws uno::DeploymentException, not deployment::DeploymentException
    
    Change-Id: I1104a2b4e551f80c748054f32a37540190076805

diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index ffee4bf..0e9a6e8 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -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" );
     }


More information about the Libreoffice-commits mailing list