summaryrefslogtreecommitdiff
path: root/animations
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 /animations
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 'animations')
-rw-r--r--animations/source/animcore/animcore.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index 72853c5cdb45..425c1c8a6f7a 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -133,8 +133,8 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( const 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 Sequence< Type > SAL_CALL getTypes() override;
@@ -301,7 +301,7 @@ public:
private:
OInterfaceContainerHelper2 maChangeListener;
- static void initTypeProvider( sal_Int16 nNodeType ) throw();
+ static void initTypeProvider( sal_Int16 nNodeType ) noexcept;
const sal_Int16 mnNodeType;
@@ -742,7 +742,7 @@ Any SAL_CALL AnimationNode::queryInterface( const Type& aType )
}
-void AnimationNode::initTypeProvider( sal_Int16 nNodeType ) throw()
+void AnimationNode::initTypeProvider( sal_Int16 nNodeType ) noexcept
{
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
@@ -837,14 +837,14 @@ Sequence< sal_Int8 > AnimationNode::getImplementationId()
// XInterface
-void SAL_CALL AnimationNode::acquire( ) throw ()
+void SAL_CALL AnimationNode::acquire( ) noexcept
{
OWeakObject::acquire();
}
// XInterface
-void SAL_CALL AnimationNode::release( ) throw ()
+void SAL_CALL AnimationNode::release( ) noexcept
{
OWeakObject::release();
}