diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-16 15:59:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-16 16:59:08 +0100 |
commit | 564b8d8ed5243b95772194da33334ad72acf9594 (patch) | |
tree | 98a1b9356644a4283295f5256accb6eedab53845 /dbaccess | |
parent | 9b2582064882bb1a1caea72fe7754b8872a16413 (diff) |
coverity#983629 Uncaught exception
Change-Id: Ie3f8a0a04c136a5ed68486aa5e31284556805510
Diffstat (limited to 'dbaccess')
-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 |