diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-03 00:37:29 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-02 22:16:06 +0100 |
commit | ad686b26cec93653b67642f79bace16df0fd1348 (patch) | |
tree | af60fa5985659deb5a5c15bae45099b84f466e98 /sal/rtl/alloc_arena.cxx | |
parent | a9d1324b1dbf4a74ee0b02859eb3197005df1bb2 (diff) |
No need to use SAL_THROW_EXTERN_C macro in CXX
Change-Id: I6eb9f0431a9402479a2d90d5b6f68b611d52a9f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175957
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sal/rtl/alloc_arena.cxx')
-rw-r--r-- | sal/rtl/alloc_arena.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/rtl/alloc_arena.cxx b/sal/rtl/alloc_arena.cxx index 05e1b7ab212e..c628ba0aaafc 100644 --- a/sal/rtl/alloc_arena.cxx +++ b/sal/rtl/alloc_arena.cxx @@ -741,7 +741,7 @@ rtl_arena_type * SAL_CALL rtl_arena_create( void * (SAL_CALL * source_alloc)(rtl_arena_type *, sal_Size *), void (SAL_CALL * source_free) (rtl_arena_type *, void *, sal_Size), SAL_UNUSED_PARAMETER int -) SAL_THROW_EXTERN_C() +) noexcept { rtl_arena_type * result = nullptr; sal_Size size = sizeof(rtl_arena_type); @@ -787,7 +787,7 @@ try_alloc: return result; } -void SAL_CALL rtl_arena_destroy(rtl_arena_type * arena) SAL_THROW_EXTERN_C() +void SAL_CALL rtl_arena_destroy(rtl_arena_type * arena) noexcept { if (arena) { @@ -800,7 +800,7 @@ void SAL_CALL rtl_arena_destroy(rtl_arena_type * arena) SAL_THROW_EXTERN_C() void * SAL_CALL rtl_arena_alloc( rtl_arena_type * arena, sal_Size * pSize -) SAL_THROW_EXTERN_C() +) noexcept { void * addr = nullptr; @@ -860,7 +860,7 @@ void SAL_CALL rtl_arena_free ( rtl_arena_type * arena, void * addr, sal_Size size -) SAL_THROW_EXTERN_C() +) noexcept { if (arena) { |