summaryrefslogtreecommitdiff
path: root/UnoControls
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 /UnoControls
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 'UnoControls')
-rw-r--r--UnoControls/inc/basecontrol.hxx4
-rw-r--r--UnoControls/inc/multiplexer.hxx4
-rw-r--r--UnoControls/source/base/basecontrol.cxx4
-rw-r--r--UnoControls/source/base/multiplexer.cxx4
-rw-r--r--UnoControls/source/controls/OConnectionPointContainerHelper.cxx4
-rw-r--r--UnoControls/source/controls/OConnectionPointHelper.cxx4
-rw-r--r--UnoControls/source/controls/framecontrol.cxx4
-rw-r--r--UnoControls/source/controls/progressbar.cxx4
-rw-r--r--UnoControls/source/controls/progressmonitor.cxx4
-rw-r--r--UnoControls/source/controls/statusindicator.cxx4
-rw-r--r--UnoControls/source/inc/OConnectionPointContainerHelper.hxx4
-rw-r--r--UnoControls/source/inc/OConnectionPointHelper.hxx4
-rw-r--r--UnoControls/source/inc/framecontrol.hxx4
-rw-r--r--UnoControls/source/inc/progressbar.hxx4
-rw-r--r--UnoControls/source/inc/progressmonitor.hxx4
-rw-r--r--UnoControls/source/inc/statusindicator.hxx4
16 files changed, 32 insertions, 32 deletions
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index 495664626b03..cba7eed36c38 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -85,7 +85,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -94,7 +94,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx
index 1c5aa98caf41..3fc19c126114 100644
--- a/UnoControls/inc/multiplexer.hxx
+++ b/UnoControls/inc/multiplexer.hxx
@@ -93,7 +93,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -102,7 +102,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
OMRCListenerMultiplexerHelper& operator= ( const OMRCListenerMultiplexerHelper& aCopyInstance );
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index 1993e74c64b4..f76b605202ab 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -88,7 +88,7 @@ Any SAL_CALL BaseControl::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL BaseControl::acquire() throw()
+void SAL_CALL BaseControl::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -99,7 +99,7 @@ void SAL_CALL BaseControl::acquire() throw()
// XInterface
-void SAL_CALL BaseControl::release() throw()
+void SAL_CALL BaseControl::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/base/multiplexer.cxx b/UnoControls/source/base/multiplexer.cxx
index a8322d845c43..6e737c7f9b26 100644
--- a/UnoControls/source/base/multiplexer.cxx
+++ b/UnoControls/source/base/multiplexer.cxx
@@ -125,7 +125,7 @@ Any SAL_CALL OMRCListenerMultiplexerHelper::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL OMRCListenerMultiplexerHelper::acquire() throw()
+void SAL_CALL OMRCListenerMultiplexerHelper::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -136,7 +136,7 @@ void SAL_CALL OMRCListenerMultiplexerHelper::acquire() throw()
// XInterface
-void SAL_CALL OMRCListenerMultiplexerHelper::release() throw()
+void SAL_CALL OMRCListenerMultiplexerHelper::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
index 6d24cbb1ff87..d0e9d30b611b 100644
--- a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
@@ -69,7 +69,7 @@ Any SAL_CALL OConnectionPointContainerHelper::queryInterface( const Type& aType
// XInterface
-void SAL_CALL OConnectionPointContainerHelper::acquire() throw()
+void SAL_CALL OConnectionPointContainerHelper::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -80,7 +80,7 @@ void SAL_CALL OConnectionPointContainerHelper::acquire() throw()
// XInterface
-void SAL_CALL OConnectionPointContainerHelper::release() throw()
+void SAL_CALL OConnectionPointContainerHelper::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx
index f2c99421d3c6..f44aef51aab1 100644
--- a/UnoControls/source/controls/OConnectionPointHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointHelper.cxx
@@ -75,7 +75,7 @@ Any SAL_CALL OConnectionPointHelper::queryInterface( const Type& aType )
// XInterface
-void SAL_CALL OConnectionPointHelper::acquire() throw()
+void SAL_CALL OConnectionPointHelper::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -86,7 +86,7 @@ void SAL_CALL OConnectionPointHelper::acquire() throw()
// XInterface
-void SAL_CALL OConnectionPointHelper::release() throw()
+void SAL_CALL OConnectionPointHelper::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx
index ddfa693a654b..73decca46274 100644
--- a/UnoControls/source/controls/framecontrol.cxx
+++ b/UnoControls/source/controls/framecontrol.cxx
@@ -94,7 +94,7 @@ Any SAL_CALL FrameControl::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL FrameControl::acquire() throw()
+void SAL_CALL FrameControl::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -105,7 +105,7 @@ void SAL_CALL FrameControl::acquire() throw()
// XInterface
-void SAL_CALL FrameControl::release() throw()
+void SAL_CALL FrameControl::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx
index a2a8222c0529..9d88ad8312f1 100644
--- a/UnoControls/source/controls/progressbar.cxx
+++ b/UnoControls/source/controls/progressbar.cxx
@@ -78,7 +78,7 @@ Any SAL_CALL ProgressBar::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL ProgressBar::acquire() throw()
+void SAL_CALL ProgressBar::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -89,7 +89,7 @@ void SAL_CALL ProgressBar::acquire() throw()
// XInterface
-void SAL_CALL ProgressBar::release() throw()
+void SAL_CALL ProgressBar::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx
index de9d596513de..bf384dfb7243 100644
--- a/UnoControls/source/controls/progressmonitor.cxx
+++ b/UnoControls/source/controls/progressmonitor.cxx
@@ -132,7 +132,7 @@ Any SAL_CALL ProgressMonitor::queryInterface( const Type& rType )
}
// XInterface
-void SAL_CALL ProgressMonitor::acquire() throw()
+void SAL_CALL ProgressMonitor::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -142,7 +142,7 @@ void SAL_CALL ProgressMonitor::acquire() throw()
}
// XInterface
-void SAL_CALL ProgressMonitor::release() throw()
+void SAL_CALL ProgressMonitor::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx
index f41088caca3d..50e5b8078a27 100644
--- a/UnoControls/source/controls/statusindicator.cxx
+++ b/UnoControls/source/controls/statusindicator.cxx
@@ -97,7 +97,7 @@ Any SAL_CALL StatusIndicator::queryInterface( const Type& rType )
// XInterface
-void SAL_CALL StatusIndicator::acquire() throw()
+void SAL_CALL StatusIndicator::acquire() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -108,7 +108,7 @@ void SAL_CALL StatusIndicator::acquire() throw()
// XInterface
-void SAL_CALL StatusIndicator::release() throw()
+void SAL_CALL StatusIndicator::release() noexcept
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
index a1a8a34178a7..54eed76e6ce1 100644
--- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
@@ -59,7 +59,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -68,7 +68,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XConnectionPointContainer
diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx
index f075b071a3cb..96529b20e795 100644
--- a/UnoControls/source/inc/OConnectionPointHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointHelper.hxx
@@ -62,7 +62,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -71,7 +71,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XConnectionPoint
diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx
index 4224a95bfbec..790aae1aa8f1 100644
--- a/UnoControls/source/inc/framecontrol.hxx
+++ b/UnoControls/source/inc/framecontrol.hxx
@@ -56,7 +56,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -65,7 +65,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx
index ef5eabe34781..dca88b90c4b4 100644
--- a/UnoControls/source/inc/progressbar.hxx
+++ b/UnoControls/source/inc/progressbar.hxx
@@ -60,7 +60,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -69,7 +69,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx
index 3fe17c578751..baa06de66ded 100644
--- a/UnoControls/source/inc/progressmonitor.hxx
+++ b/UnoControls/source/inc/progressmonitor.hxx
@@ -85,7 +85,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -94,7 +94,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider
diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx
index 14ac4e03b8d9..e1930e9da808 100644
--- a/UnoControls/source/inc/statusindicator.hxx
+++ b/UnoControls/source/inc/statusindicator.hxx
@@ -75,7 +75,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL acquire() throw() override;
+ virtual void SAL_CALL acquire() noexcept override;
/**
@short decrement refcount
@@ -84,7 +84,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual void SAL_CALL release() throw() override;
+ virtual void SAL_CALL release() noexcept override;
// XTypeProvider