diff options
Diffstat (limited to 'svtools/source/java')
-rw-r--r-- | svtools/source/java/javacontext.cxx | 4 | ||||
-rw-r--r-- | svtools/source/java/javainteractionhandler.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/java/javacontext.cxx b/svtools/source/java/javacontext.cxx index c804e5f0b99e..a7d97f77ddf4 100644 --- a/svtools/source/java/javacontext.cxx +++ b/svtools/source/java/javacontext.cxx @@ -47,12 +47,12 @@ Any SAL_CALL JavaContext::queryInterface(const Type& aType ) return Any(); } -void SAL_CALL JavaContext::acquire( ) throw () +void SAL_CALL JavaContext::acquire( ) noexcept { osl_atomic_increment( &m_aRefCount ); } -void SAL_CALL JavaContext::release( ) throw () +void SAL_CALL JavaContext::release( ) noexcept { if (! osl_atomic_decrement( &m_aRefCount )) delete this; diff --git a/svtools/source/java/javainteractionhandler.cxx b/svtools/source/java/javainteractionhandler.cxx index ce360463b6dc..c032f41146c1 100644 --- a/svtools/source/java/javainteractionhandler.cxx +++ b/svtools/source/java/javainteractionhandler.cxx @@ -80,12 +80,12 @@ Any SAL_CALL JavaInteractionHandler::queryInterface(const Type& aType ) return Any(); } -void SAL_CALL JavaInteractionHandler::acquire( ) throw () +void SAL_CALL JavaInteractionHandler::acquire( ) noexcept { osl_atomic_increment( &m_aRefCount ); } -void SAL_CALL JavaInteractionHandler::release( ) throw () +void SAL_CALL JavaInteractionHandler::release( ) noexcept { if (! osl_atomic_decrement( &m_aRefCount )) delete this; |