diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 16:56:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 17:55:52 +0100 |
commit | 50bd0c857383226ab44666c09db7ddaff8f1f281 (patch) | |
tree | 13c63bf503f3e097c908fd273436262fe6a415de /basic | |
parent | 7950fc0d049afba36ace8ef544df0358ea3c3e6c (diff) |
coverity#1308521 Uncaught exception
Change-Id: I6a189e0d1c4eb04e727fdf12585d46a1f4121f68
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/namecont.hxx | 2 | ||||
-rw-r--r-- | basic/source/inc/scriptcont.hxx | 2 | ||||
-rw-r--r-- | basic/source/uno/namecont.cxx | 2 | ||||
-rw-r--r-- | basic/source/uno/scriptcont.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx index 82b9ddf9b80c..5a18cf589aa5 100644 --- a/basic/source/inc/namecont.hxx +++ b/basic/source/inc/namecont.hxx @@ -324,7 +324,7 @@ protected: virtual bool implLoadPasswordLibrary( SfxLibrary* pLib, const OUString& Name, bool bVerifyPasswordOnly=false ) throw(::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::RuntimeException, std::exception); virtual void onNewRootStorage() = 0; diff --git a/basic/source/inc/scriptcont.hxx b/basic/source/inc/scriptcont.hxx index c3662775cea8..17f9c32274f9 100644 --- a/basic/source/inc/scriptcont.hxx +++ b/basic/source/inc/scriptcont.hxx @@ -75,7 +75,7 @@ class SfxScriptLibraryContainer : public SfxLibraryContainer, public OldBasicPas virtual bool implLoadPasswordLibrary( SfxLibrary* pLib, const OUString& Name, bool bVerifyPasswordOnly=false ) throw(::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void onNewRootStorage() SAL_OVERRIDE; diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 2327b13269a7..73ca0e5bb32d 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1375,7 +1375,7 @@ bool SfxLibraryContainer::implLoadPasswordLibrary( SfxLibrary* /*pLib*/, const OUString& /*Name*/, bool /*bVerifyPasswordOnly*/ ) -throw(WrappedTargetException, RuntimeException) +throw(WrappedTargetException, RuntimeException, std::exception) { return true; } diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index 9e9388c5a02f..46620df77a3d 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -877,7 +877,7 @@ bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, cons bool SfxScriptLibraryContainer::implLoadPasswordLibrary ( SfxLibrary* pLib, const OUString& Name, bool bVerifyPasswordOnly ) - throw(WrappedTargetException, RuntimeException) + throw(WrappedTargetException, RuntimeException, std::exception) { bool bRet = true; |