diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-03 20:45:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 09:35:19 +0100 |
commit | 675194c83d620210f3c50448978c3ecebb62ccb9 (patch) | |
tree | 20e3108dfa291bf3770786e6bdef492503dd4a17 | |
parent | 59432cffa9c32b5a39be1e1904731ce4a04d0307 (diff) |
coverity#706238 Uncaught exception
Change-Id: I10bd34115be12dc752987ddbe5d93862aa072e72
-rw-r--r-- | basic/source/inc/dlgcont.hxx | 4 | ||||
-rw-r--r-- | basic/source/uno/dlgcont.cxx | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/basic/source/inc/dlgcont.hxx b/basic/source/inc/dlgcont.hxx index 556078859641..932a16823e9d 100644 --- a/basic/source/inc/dlgcont.hxx +++ b/basic/source/inc/dlgcont.hxx @@ -75,7 +75,9 @@ public: // Methods XStorageBasedLibraryContainer virtual void SAL_CALL storeLibrariesToStorage( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& RootStorage ) - throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::uno::RuntimeException, + css::lang::WrappedTargetException, + std::exception) SAL_OVERRIDE; // Resource handling ::com::sun::star::uno::Reference< ::com::sun::star::resource::XStringResourcePersistence > diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx index 79662a7c0185..0c394ca3dbec 100644 --- a/basic/source/uno/dlgcont.cxx +++ b/basic/source/uno/dlgcont.cxx @@ -186,7 +186,7 @@ void SAL_CALL SfxDialogLibraryContainer::writeLibraryElement xInput->closeInput(); } -void SfxDialogLibraryContainer::storeLibrariesToStorage( const uno::Reference< embed::XStorage >& xStorage ) throw ( RuntimeException, std::exception ) +void SfxDialogLibraryContainer::storeLibrariesToStorage( const uno::Reference< embed::XStorage >& xStorage ) throw ( RuntimeException, WrappedTargetException, std::exception ) { LibraryContainerMethodGuard aGuard( *this ); mbOasis2OOoFormat = false; |