summaryrefslogtreecommitdiff
path: root/svtools/source/uno
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 /svtools/source/uno
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 'svtools/source/uno')
-rw-r--r--svtools/source/uno/framestatuslistener.cxx4
-rw-r--r--svtools/source/uno/statusbarcontroller.cxx4
-rw-r--r--svtools/source/uno/toolboxcontroller.cxx4
-rw-r--r--svtools/source/uno/unoimap.cxx8
4 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/uno/framestatuslistener.cxx b/svtools/source/uno/framestatuslistener.cxx
index ba158c2ddcf3..33c475e25dae 100644
--- a/svtools/source/uno/framestatuslistener.cxx
+++ b/svtools/source/uno/framestatuslistener.cxx
@@ -66,12 +66,12 @@ Any SAL_CALL FrameStatusListener::queryInterface( const Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL FrameStatusListener::acquire() throw ()
+void SAL_CALL FrameStatusListener::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL FrameStatusListener::release() throw ()
+void SAL_CALL FrameStatusListener::release() noexcept
{
OWeakObject::release();
}
diff --git a/svtools/source/uno/statusbarcontroller.cxx b/svtools/source/uno/statusbarcontroller.cxx
index 28a146d9db84..fae89f287b9e 100644
--- a/svtools/source/uno/statusbarcontroller.cxx
+++ b/svtools/source/uno/statusbarcontroller.cxx
@@ -107,12 +107,12 @@ Any SAL_CALL StatusbarController::queryInterface( const Type& rType )
return OWeakObject::queryInterface( rType );
}
-void SAL_CALL StatusbarController::acquire() throw ()
+void SAL_CALL StatusbarController::acquire() noexcept
{
OWeakObject::acquire();
}
-void SAL_CALL StatusbarController::release() throw ()
+void SAL_CALL StatusbarController::release() noexcept
{
OWeakObject::release();
}
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx
index 949c7c1cfb68..fa881b64ad4b 100644
--- a/svtools/source/uno/toolboxcontroller.cxx
+++ b/svtools/source/uno/toolboxcontroller.cxx
@@ -142,12 +142,12 @@ Any SAL_CALL ToolboxController::queryInterface( const Type& rType )
return a.hasValue() ? a : OPropertyContainer::queryInterface(rType);
}
-void SAL_CALL ToolboxController::acquire() throw ()
+void SAL_CALL ToolboxController::acquire() noexcept
{
ToolboxController_Base::acquire();
}
-void SAL_CALL ToolboxController::release() throw ()
+void SAL_CALL ToolboxController::release() noexcept
{
ToolboxController_Base::release();
}
diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx
index dbd2724e3661..f87973281f45 100644
--- a/svtools/source/uno/unoimap.cxx
+++ b/svtools/source/uno/unoimap.cxx
@@ -89,8 +89,8 @@ public:
// XInterface
virtual Any SAL_CALL queryAggregation( const Type & rType ) override;
virtual Any SAL_CALL queryInterface( const 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 Sequence< Type > SAL_CALL getTypes( ) override;
@@ -328,12 +328,12 @@ Any SAL_CALL SvUnoImageMapObject::queryAggregation( const Type & rType )
return aAny;
}
-void SAL_CALL SvUnoImageMapObject::acquire() throw()
+void SAL_CALL SvUnoImageMapObject::acquire() noexcept
{
OWeakAggObject::acquire();
}
-void SAL_CALL SvUnoImageMapObject::release() throw()
+void SAL_CALL SvUnoImageMapObject::release() noexcept
{
OWeakAggObject::release();
}