From 9284a63adddde51ceb4730b870391b1e2af3de4a Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 9 Jun 2014 11:27:28 +0200 Subject: iprevent violation of exception spec Change-Id: I1f638ae3a2e88e0cadaab0046ef087fe77e16b06 --- basic/source/uno/namecont.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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() ) -- cgit