summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-08 15:58:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-11 12:13:46 +0100
commit3af500580b1c82eabd60335c9ebc458a3f68850c (patch)
treee0ad105be694cfb46221d16e9ce987879794fa04 /uui
parent0f9a596aa853b4f2beeff25c131246a7b31492a4 (diff)
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>
Diffstat (limited to 'uui')
-rw-r--r--uui/source/interactionhandler.cxx2
-rw-r--r--uui/source/passwordcontainer.cxx2
-rw-r--r--uui/source/requeststringresolver.cxx2
-rw-r--r--uui/source/services.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/interactionhandler.cxx b/uui/source/interactionhandler.cxx
index c399c8c14482..417a2e09fbbb 100644
--- a/uui/source/interactionhandler.cxx
+++ b/uui/source/interactionhandler.cxx
@@ -158,7 +158,7 @@ sal_Bool SAL_CALL UUIInteractionHandler::handleInteractionRequest(
}
-extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
com_sun_star_comp_uui_UUIInteractionHandler_get_implementation(
css::uno::XComponentContext *context,
css::uno::Sequence<css::uno::Any> const &)
diff --git a/uui/source/passwordcontainer.cxx b/uui/source/passwordcontainer.cxx
index 420f098e1d7c..92a54f53fae7 100644
--- a/uui/source/passwordcontainer.cxx
+++ b/uui/source/passwordcontainer.cxx
@@ -402,7 +402,7 @@ PasswordContainerInteractionHandler::handleInteractionRequest(
// Service factory implementation.
/// @throws uno::Exception
-static uno::Reference< uno::XInterface > SAL_CALL
+static uno::Reference< uno::XInterface >
PasswordContainerInteractionHandler_CreateInstance(
const uno::Reference< lang::XMultiServiceFactory> & rSMgr )
{
diff --git a/uui/source/requeststringresolver.cxx b/uui/source/requeststringresolver.cxx
index 1289a9e9c6fc..7fddd59a1270 100644
--- a/uui/source/requeststringresolver.cxx
+++ b/uui/source/requeststringresolver.cxx
@@ -69,7 +69,7 @@ UUIInteractionRequestStringResolver::getStringFromInformationalRequest(
}
}
-extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
com_sun_star_comp_uui_UUIInteractionRequestStringResolver_get_implementation(
css::uno::XComponentContext *context,
css::uno::Sequence<css::uno::Any> const &)
diff --git a/uui/source/services.cxx b/uui/source/services.cxx
index 052658aac19c..6430da3dcf87 100644
--- a/uui/source/services.cxx
+++ b/uui/source/services.cxx
@@ -31,7 +31,7 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::registry;
-extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL uui_component_getFactory(sal_Char const * pImplName,
+extern "C" SAL_DLLPUBLIC_EXPORT void * uui_component_getFactory(sal_Char const * pImplName,
void * pServiceManager,
void *)
{