summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-30 08:20:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-02 17:02:28 +0200
commit10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch)
tree7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /extensions
parenta9243e626193ab4efe3a618413886773336a38e6 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/abpilot/unodialogabp.cxx4
-rw-r--r--extensions/source/abpilot/unodialogabp.hxx4
-rw-r--r--extensions/source/bibliography/loadlisteneradapter.cxx4
-rw-r--r--extensions/source/bibliography/loadlisteneradapter.hxx8
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx8
-rw-r--r--extensions/source/propctrlr/formgeometryhandler.cxx4
6 files changed, 16 insertions, 16 deletions
diff --git a/extensions/source/abpilot/unodialogabp.cxx b/extensions/source/abpilot/unodialogabp.cxx
index 812773213daa..a9836d910535 100644
--- a/extensions/source/abpilot/unodialogabp.cxx
+++ b/extensions/source/abpilot/unodialogabp.cxx
@@ -48,12 +48,12 @@ namespace abp
return aReturn.hasValue() ? aReturn : OABSPilotUno_JBase::queryInterface( aType );
}
- void SAL_CALL OABSPilotUno::acquire( ) throw ()
+ void SAL_CALL OABSPilotUno::acquire( ) noexcept
{
svt::OGenericUnoDialog::acquire();
}
- void SAL_CALL OABSPilotUno::release( ) throw ()
+ void SAL_CALL OABSPilotUno::release( ) noexcept
{
svt::OGenericUnoDialog::release();
}
diff --git a/extensions/source/abpilot/unodialogabp.hxx b/extensions/source/abpilot/unodialogabp.hxx
index cf3aaa6f5101..b8bd940afa04 100644
--- a/extensions/source/abpilot/unodialogabp.hxx
+++ b/extensions/source/abpilot/unodialogabp.hxx
@@ -44,8 +44,8 @@ namespace abp
private:
// XInterface (disambiguation)
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) 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;
diff --git a/extensions/source/bibliography/loadlisteneradapter.cxx b/extensions/source/bibliography/loadlisteneradapter.cxx
index fecce24ae7b7..27f4ea2e5099 100644
--- a/extensions/source/bibliography/loadlisteneradapter.cxx
+++ b/extensions/source/bibliography/loadlisteneradapter.cxx
@@ -120,13 +120,13 @@ namespace bib
}
- void SAL_CALL OLoadListenerAdapter::acquire( ) throw ()
+ void SAL_CALL OLoadListenerAdapter::acquire( ) noexcept
{
OLoadListenerAdapter_Base::acquire();
}
- void SAL_CALL OLoadListenerAdapter::release( ) throw ()
+ void SAL_CALL OLoadListenerAdapter::release( ) noexcept
{
OLoadListenerAdapter_Base::release();
}
diff --git a/extensions/source/bibliography/loadlisteneradapter.hxx b/extensions/source/bibliography/loadlisteneradapter.hxx
index 0cb3fae9ccf3..1031dedca35a 100644
--- a/extensions/source/bibliography/loadlisteneradapter.hxx
+++ b/extensions/source/bibliography/loadlisteneradapter.hxx
@@ -85,8 +85,8 @@ namespace bib
void Init( OComponentListener* _pListener );
// base for ref-counting, implemented by OComponentAdapter
- virtual void SAL_CALL acquire( ) throw () = 0;
- virtual void SAL_CALL release( ) throw () = 0;
+ virtual void SAL_CALL acquire( ) noexcept = 0;
+ virtual void SAL_CALL release( ) noexcept = 0;
/// dispose the object - stop listening and such
void dispose();
@@ -129,8 +129,8 @@ namespace bib
);
- 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:
// XEventListener
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();
}