diff options
-rw-r--r-- | basic/source/uno/namecont.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 78fbb357a966..01250f47d300 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -2434,7 +2434,12 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name ) aFile = aElementName; aFile += "."; aFile += maLibElementFileExtension; - xElementStream = xLibraryStor->openStreamElement( aFile, embed::ElementModes::READ ); + try + { + xElementStream = xLibraryStor->openStreamElement( aFile, embed::ElementModes::READ ); + } + catch(const uno::Exception& ) + {} } if ( xElementStream.is() ) |