From 10d29c390dd58ed629dd27fe5ed35fae28eceec3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 30 Apr 2021 08:20:03 +0200 Subject: throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- extensions/source/propctrlr/browserlistbox.cxx | 8 ++++---- extensions/source/propctrlr/formgeometryhandler.cxx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'extensions/source/propctrlr') diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index 8f164a249802..04e9e44b388d 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -152,8 +152,8 @@ namespace pcr */ void setNotificationMode( NotificationMode _eMode ); - 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; protected: virtual ~PropertyControlContext_Impl() override; @@ -251,12 +251,12 @@ namespace pcr impl_notify_throw( CurrentControl, ACTIVATE_NEXT ); } - void SAL_CALL PropertyControlContext_Impl::acquire() throw() + void SAL_CALL PropertyControlContext_Impl::acquire() noexcept { PropertyControlContext_Impl_Base::acquire(); } - void SAL_CALL PropertyControlContext_Impl::release() throw() + void SAL_CALL PropertyControlContext_Impl::release() noexcept { PropertyControlContext_Impl_Base::release(); } diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx index 282ecc8a3128..0372087036ce 100644 --- a/extensions/source/propctrlr/formgeometryhandler.cxx +++ b/extensions/source/propctrlr/formgeometryhandler.cxx @@ -161,12 +161,12 @@ namespace pcr } // XInterface - virtual void SAL_CALL acquire( ) throw () override + virtual void SAL_CALL acquire( ) noexcept override { m_rParent.acquire(); } - virtual void SAL_CALL release( ) throw () override + virtual void SAL_CALL release( ) noexcept override { m_rParent.release(); } -- cgit