diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-12 09:45:17 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-12 09:45:27 +0300 |
commit | 9097611359d37003c9ac5b253dd592fed17e0aae (patch) | |
tree | 6ce89beeef9e18a441b85309cd72381f50b5ce46 /basic | |
parent | 7329fbd9c48a264bf917f43db3f50d3ab031ae64 (diff) |
We already have SAL_CALL that means __cdecl on Windows
Not that there should be any need to use it here; it is the default anyway.
Also the extern "C" is bogus here as far as I know; that affects only the
external name of the function, and that a function is passed to bsearch()
doesn't set any requirements on the external name of it. It could be a static
function with no global symbol name. But oh well.
Change-Id: Ia264bf2f952fd6f38aa36a25a084383d4d3f1bdc
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/propacc.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx index 81fd9462af7a..2ea51d4275db 100644 --- a/basic/source/classes/propacc.cxx +++ b/basic/source/classes/propacc.cxx @@ -33,13 +33,6 @@ using namespace com::sun::star::lang; using namespace com::sun::star::beans; using namespace cppu; -#ifdef WNT -#define CDECL _cdecl -#endif -#if defined(UNX) -#define CDECL -#endif - struct SbCompare_UString_PropertyValue_Impl { bool operator() (const OUString& lhs, PropertyValue const & rhs) @@ -58,7 +51,7 @@ struct SbCompare_UString_PropertyValue_Impl #endif }; -extern "C" int CDECL SbCompare_UString_Property_Impl( const void *arg1, const void *arg2 ) +extern "C" int SAL_CALL SbCompare_UString_Property_Impl( const void *arg1, const void *arg2 ) { const OUString *pArg1 = (OUString*) arg1; const Property *pArg2 = (Property*) arg2; |