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 --- stoc/source/javaloader/javaloader.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stoc/source/javaloader/javaloader.cxx') diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx index 02bb22d2b7d9..0636e97c2236 100644 --- a/stoc/source/javaloader/javaloader.cxx +++ b/stoc/source/javaloader/javaloader.cxx @@ -334,7 +334,7 @@ static Mutex & getInitMutex() } /// @throws Exception -css::uno::Reference SAL_CALL JavaComponentLoader_CreateInstance(const css::uno::Reference & xCtx) +css::uno::Reference JavaComponentLoader_CreateInstance(const css::uno::Reference & xCtx) { css::uno::Reference xRet; @@ -380,7 +380,7 @@ static const struct ImplementationEntry g_entries[] = extern "C" { -SAL_DLLPUBLIC_EXPORT void * SAL_CALL javaloader_component_getFactory( +SAL_DLLPUBLIC_EXPORT void * javaloader_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); -- cgit