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 /cppu/source/uno/lbmap.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 'cppu/source/uno/lbmap.cxx')
-rw-r--r-- | cppu/source/uno/lbmap.cxx | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index a2a554b84cf6..dc135a2be484 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -578,8 +578,7 @@ extern "C" void SAL_CALL uno_getMapping( uno_Mapping ** ppMapping, uno_Environment * pFrom, uno_Environment * pTo, - rtl_uString * pAddPurpose ) - SAL_THROW_EXTERN_C() + rtl_uString * pAddPurpose ) noexcept { assert(ppMapping != nullptr); assert(pFrom != nullptr); @@ -644,8 +643,7 @@ void SAL_CALL uno_getMapping( void SAL_CALL uno_getMappingByName( uno_Mapping ** ppMapping, rtl_uString * pFrom, rtl_uString * pTo, - rtl_uString * pAddPurpose ) - SAL_THROW_EXTERN_C() + rtl_uString * pAddPurpose ) noexcept { assert(ppMapping && pFrom && pTo && "### null ptr!"); if (*ppMapping) @@ -674,8 +672,7 @@ void SAL_CALL uno_getMappingByName( void SAL_CALL uno_registerMapping( uno_Mapping ** ppMapping, uno_freeMappingFunc freeMapping, - uno_Environment * pFrom, uno_Environment * pTo, rtl_uString * pAddPurpose ) - SAL_THROW_EXTERN_C() + uno_Environment * pFrom, uno_Environment * pTo, rtl_uString * pAddPurpose ) noexcept { MappingsData & rData = getMappingsData(); ClearableMutexGuard aGuard( rData.aMappingsMutex ); @@ -708,8 +705,7 @@ void SAL_CALL uno_registerMapping( } void SAL_CALL uno_revokeMapping( - uno_Mapping * pMapping ) - SAL_THROW_EXTERN_C() + uno_Mapping * pMapping ) noexcept { MappingsData & rData = getMappingsData(); ClearableMutexGuard aGuard( rData.aMappingsMutex ); @@ -730,8 +726,7 @@ void SAL_CALL uno_revokeMapping( void SAL_CALL uno_registerMappingCallback( - uno_getMappingFunc pCallback ) - SAL_THROW_EXTERN_C() + uno_getMappingFunc pCallback ) noexcept { OSL_ENSURE( pCallback, "### null ptr!" ); MappingsData & rData = getMappingsData(); @@ -740,8 +735,7 @@ void SAL_CALL uno_registerMappingCallback( } void SAL_CALL uno_revokeMappingCallback( - uno_getMappingFunc pCallback ) - SAL_THROW_EXTERN_C() + uno_getMappingFunc pCallback ) noexcept { OSL_ENSURE( pCallback, "### null ptr!" ); MappingsData & rData = getMappingsData(); |