summaryrefslogtreecommitdiffstats
path: root/rsc
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2011-05-26 15:02:42 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-05-26 15:05:21 +0200
commite6703ce8a24fdc5b1698f0c3789b4423a84ad8fa (patch)
tree65a08757905ca9a5fecbc62ef56a3f70d8fe0e82 /rsc
parentDon't build qa executables for iOS (diff)
downloadcore-e6703ce8a24fdc5b1698f0c3789b4423a84ad8fa.tar.gz
core-e6703ce8a24fdc5b1698f0c3789b4423a84ad8fa.zip
remove __cdecl and use SAL_CALL instead
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/parser/rsckey.cxx13
1 files changed, 3 insertions, 10 deletions
diff --git a/rsc/source/parser/rsckey.cxx b/rsc/source/parser/rsckey.cxx
index e6e1559a4130..621ab4d69598 100644
--- a/rsc/source/parser/rsckey.cxx
+++ b/rsc/source/parser/rsckey.cxx
@@ -45,18 +45,11 @@
/****************** C o d e **********************************************/
/****************** keyword sort function ********************************/
extern "C" {
-#if defined( WNT ) && !defined (ICC)
- int _cdecl KeyCompare( const void * pFirst, const void * pSecond );
-#else
- int KeyCompare( const void * pFirst, const void * pSecond );
-#endif
+ int SAL_CALL KeyCompare( const void * pFirst, const void * pSecond );
}
-#if defined( WNT ) && !defined(ICC)
-int _cdecl KeyCompare( const void * pFirst, const void * pSecond ){
-#else
-int KeyCompare( const void * pFirst, const void * pSecond ){
-#endif
+int SAL_CALL KeyCompare( const void * pFirst, const void * pSecond )
+{
if( ((KEY_STRUCT *)pFirst)->nName > ((KEY_STRUCT *)pSecond)->nName )
return( 1 );
else if( ((KEY_STRUCT *)pFirst)->nName < ((KEY_STRUCT *)pSecond)->nName )