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 /cppuhelper/source | |
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 'cppuhelper/source')
-rw-r--r-- | cppuhelper/source/propshlp.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 8a864e1bad6a..93bdc535ea2c 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -56,8 +56,7 @@ static const css::uno::Type & getVetoableTypeIdentifier() extern "C" { -static int compare_OUString_Property_Impl( const void *arg1, const void *arg2 ) - SAL_THROW_EXTERN_C() +static int compare_OUString_Property_Impl( const void *arg1, const void *arg2 ) noexcept { return static_cast<OUString const *>(arg1)->compareTo( static_cast<Property const *>(arg2)->Name ); } @@ -969,8 +968,7 @@ void OPropertySetHelper2::enableChangeListenerNotification( sal_Bool bEnable ) extern "C" { -static int compare_Property_Impl( const void *arg1, const void *arg2 ) - SAL_THROW_EXTERN_C() +static int compare_Property_Impl( const void *arg1, const void *arg2 ) noexcept { return static_cast<Property const *>(arg1)->Name.compareTo( static_cast<Property const *>(arg2)->Name ); } |