diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2009-12-04 11:06:17 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2009-12-04 11:06:17 +0000 |
commit | 888c37e376701a749b4b102036f488287bc89fb8 (patch) | |
tree | c86e21950639a3cff5f5938234a11af290f5037c /basic | |
parent | b5b0a616cc603435f8c8d4e3b348baa4fb24e740 (diff) |
#i107440# in case of problems with extensions the office libraries still should be usable
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/uno/namecont.cxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index c397e402fac4..e6eec58647b3 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -940,7 +940,17 @@ sal_Bool SfxLibraryContainer::init_Impl( // #110009 if( !bStorage && meInitMode == DEFAULT ) - implScanExtensions(); + { + try + { + implScanExtensions(); + } + catch( uno::Exception& ) + { + // TODO: error handling? + OSL_ASSERT( "Cannot access extensions!" ); + } + } // #110009 Preload? { |