diff options
-rw-r--r-- | dbaccess/source/core/dataaccess/databasedocument.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/dataaccess/databasedocument.hxx | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index 86a4f152073d..259d0613ce95 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -1016,7 +1016,7 @@ void ODatabaseDocument::impl_throwIOExceptionCausedBySave_throw( const Any& i_rE } void ODatabaseDocument::impl_storeAs_throw( const OUString& _rURL, const ::comphelper::NamedValueCollection& _rArguments, - const StoreType _eType, DocumentGuard& _rGuard ) throw ( IOException, RuntimeException ) + const StoreType _eType, DocumentGuard& _rGuard ) throw (IOException, RuntimeException, std::exception) { OSL_PRECOND( ( _eType == SAVE ) || ( _eType == SAVE_AS ), "ODatabaseDocument::impl_storeAs_throw: you introduced a new type which cannot be handled here!" ); diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx index bd5f9463797f..84c1131dba12 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.hxx +++ b/dbaccess/source/core/dataaccess/databasedocument.hxx @@ -221,8 +221,9 @@ class ODatabaseDocument :public ModelDependentComponent // ModelDepe const StoreType _eType, DocumentGuard& _rGuard ) - throw ( ::com::sun::star::io::IOException - , ::com::sun::star::uno::RuntimeException ); + throw (css::io::IOException, + css::uno::RuntimeException, + std::exception); /** notifies our storage change listeners that our underlying storage changed |