diff options
-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; |