summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-09 11:27:28 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-10 15:58:24 +0200
commit9284a63adddde51ceb4730b870391b1e2af3de4a (patch)
treec5d9171dc4e0b6836de6f93b6297def424b0bf24 /basic
parentd44b58beed743871df03909e7d9545e488f3d7c8 (diff)
iprevent violation of exception spec
Change-Id: I1f638ae3a2e88e0cadaab0046ef087fe77e16b06
Diffstat (limited to 'basic')
-rw-r--r--basic/source/uno/namecont.cxx7
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() )