From 2a5da1f2d80cc6147c9dfd9658049a76f1d021a1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 29 Jun 2015 12:14:52 +0100 Subject: coverity#1308593 Uncaught exception Change-Id: I3cf82f3f0e859b24d75f8ca8e0daf82b02becb0a --- connectivity/source/drivers/dbase/DTable.cxx | 2 +- connectivity/source/inc/dbase/DTable.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 0f13ae07d2b9..aa09743eff78 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -2366,7 +2366,7 @@ namespace } } -void SAL_CALL ODbaseTable::renameImpl( const OUString& newName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException) +void SAL_CALL ODbaseTable::renameImpl( const OUString& newName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard(m_aMutex); diff --git a/connectivity/source/inc/dbase/DTable.hxx b/connectivity/source/inc/dbase/DTable.hxx index e30d3035614d..7fb36ff7bf3d 100644 --- a/connectivity/source/inc/dbase/DTable.hxx +++ b/connectivity/source/inc/dbase/DTable.hxx @@ -115,7 +115,7 @@ namespace connectivity bool AllocBuffer(); void throwInvalidDbaseFormat(); - void SAL_CALL renameImpl( const OUString& newName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException); + void SAL_CALL renameImpl( const OUString& newName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException, std::exception); void throwInvalidColumnType(const sal_uInt16 _nErrorId,const OUString& _sColumnName); protected: -- cgit