loplugin:noexcept (macOS)

Change-Id: Ib8951e9590d70ffecf8fd6af3070ef9c6d4ae151
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115044
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2021-05-03 17:13:31 +02:00
parent 40b833351e
commit 0d913b281d
6 changed files with 10 additions and 10 deletions

View file

@ -115,7 +115,7 @@ struct __cxa_eh_globals {
#if !HAVE_CXXABI_H_CXA_GET_GLOBALS
namespace __cxxabiv1 {
extern "C" __cxa_eh_globals * __cxa_get_globals() throw();
extern "C" __cxa_eh_globals * __cxa_get_globals() noexcept;
}
#endif

View file

@ -157,12 +157,12 @@ Any SAL_CALL MacabResultSet::queryInterface(const Type & rType)
return aRet;
}
void SAL_CALL MacabResultSet::acquire() throw()
void SAL_CALL MacabResultSet::acquire() noexcept
{
MacabResultSet_BASE::acquire();
}
void SAL_CALL MacabResultSet::release() throw()
void SAL_CALL MacabResultSet::release() noexcept
{
MacabResultSet_BASE::release();
}

View file

@ -104,8 +104,8 @@ namespace connectivity::macab
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire() throw() override;
virtual void SAL_CALL release() throw() override;
virtual void SAL_CALL acquire() noexcept override;
virtual void SAL_CALL release() noexcept override;
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;

View file

@ -45,7 +45,7 @@ namespace connectivity::macab
MacabResultSetMetaData(MacabConnection* _pConnection, OUString const & _sTableName);
// avoid ambiguous cast error from the compiler
operator css::uno::Reference< css::sdbc::XResultSetMetaData > () throw()
operator css::uno::Reference< css::sdbc::XResultSetMetaData > () noexcept
{ return this; }
/// @throws css::sdbc::SQLException

View file

@ -568,12 +568,12 @@ void MacabCommonStatement::getFastPropertyValue(Any&,sal_Int32 nHandle) const
}
}
void SAL_CALL MacabCommonStatement::acquire() throw()
void SAL_CALL MacabCommonStatement::acquire() noexcept
{
MacabCommonStatement_BASE::acquire();
}
void SAL_CALL MacabCommonStatement::release() throw()
void SAL_CALL MacabCommonStatement::release() noexcept
{
MacabCommonStatement_BASE::release();
}

View file

@ -106,8 +106,8 @@ namespace connectivity::macab
using MacabCommonStatement_BASE::disposing;
// XInterface
virtual void SAL_CALL release() throw() override;
virtual void SAL_CALL acquire() throw() override;
virtual void SAL_CALL release() noexcept override;
virtual void SAL_CALL acquire() noexcept override;
virtual css::uno::Any SAL_CALL queryInterface(
const css::uno::Type & rType
) override;