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 --- forms/source/xforms/model.cxx | 2 +- forms/source/xforms/xforms_services.cxx | 2 +- forms/source/xforms/xpathlib/extension.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'forms/source/xforms') diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index 1ac41a3f47c2..c714d5b053dc 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -632,7 +632,7 @@ css::uno::Sequence Model::getSupportedServiceNames() return css::uno::Sequence{"com.sun.star.xforms.Model"}; } -extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL +extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* com_sun_star_form_Model_get_implementation(css::uno::XComponentContext*, css::uno::Sequence const &) { diff --git a/forms/source/xforms/xforms_services.cxx b/forms/source/xforms/xforms_services.cxx index 9c6081abe2af..b6f39fe5ae69 100644 --- a/forms/source/xforms/xforms_services.cxx +++ b/forms/source/xforms/xforms_services.cxx @@ -49,7 +49,7 @@ class Implementation: } -extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* SAL_CALL +extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* com_sun_star_form_XForms_get_implementation(uno::XComponentContext*, uno::Sequence const &) { diff --git a/forms/source/xforms/xpathlib/extension.cxx b/forms/source/xforms/xpathlib/extension.cxx index fd97a359d3c6..576d8d957e9e 100644 --- a/forms/source/xforms/xpathlib/extension.cxx +++ b/forms/source/xforms/xpathlib/extension.cxx @@ -62,7 +62,7 @@ void SAL_CALL CLibxml2XFormsExtension::initialize(const Sequence< Any >& aSequen } -extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL +extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* com_sun_star_comp_xml_xpath_XFormsExtension_get_implementation(css::uno::XComponentContext*, css::uno::Sequence const &) { -- cgit