loplugin:salcall fix functions

since cdecl is the default calling convention on Windows for
such functions, the annotation is redundant.

Change-Id: I1a85fa27e5ac65ce0e04a19bde74c90800ffaa2d
Reviewed-on: https://gerrit.libreoffice.org/46164
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2017-12-08 15:58:41 +02:00
parent 0f9a596aa8
commit 3af500580b
940 changed files with 2107 additions and 2126 deletions

View File

@@ -197,12 +197,12 @@ struct uno_Mediate_Mapping : public uno_Mapping
extern "C"
{
static void SAL_CALL mediate_free( uno_Mapping * pMapping )
static void mediate_free( uno_Mapping * pMapping )
{
delete static_cast< uno_Mediate_Mapping * >( pMapping );
}
static void SAL_CALL mediate_acquire( uno_Mapping * pMapping )
static void mediate_acquire( uno_Mapping * pMapping )
{
if (1 == osl_atomic_increment(
& static_cast< uno_Mediate_Mapping * >( pMapping )->nRef ))
@@ -215,7 +215,7 @@ static void SAL_CALL mediate_acquire( uno_Mapping * pMapping )
}
}
static void SAL_CALL mediate_release( uno_Mapping * pMapping )
static void mediate_release( uno_Mapping * pMapping )
{
if (! osl_atomic_decrement(
& static_cast< uno_Mediate_Mapping * >( pMapping )->nRef ))
@@ -224,7 +224,7 @@ static void SAL_CALL mediate_release( uno_Mapping * pMapping )
}
}
static void SAL_CALL mediate_mapInterface(
static void mediate_mapInterface(
uno_Mapping * pMapping,
void ** ppOut, void * pInterface,
typelib_InterfaceTypeDescription * pInterfaceTypeDescr )