From 3af500580b1c82eabd60335c9ebc458a3f68850c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Dec 2017 15:58:41 +0200 Subject: 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 Reviewed-by: Noel Grandin --- unotools/source/misc/unotoolsservices.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unotools') diff --git a/unotools/source/misc/unotoolsservices.cxx b/unotools/source/misc/unotoolsservices.cxx index 09ab8d97debd..10cc549f2b01 100644 --- a/unotools/source/misc/unotoolsservices.cxx +++ b/unotools/source/misc/unotoolsservices.cxx @@ -15,7 +15,7 @@ namespace sdecl = ::comphelper::service_decl; -extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL utl_component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void* utl_component_getFactory( sal_Char const* pImplName, void*, void*) { return sdecl::component_getFactoryHelper( pImplName, -- cgit