summaryrefslogtreecommitdiff
path: root/basctl
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 /basctl
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 'basctl')
-rw-r--r--basctl/source/basicide/register.cxx2
-rw-r--r--basctl/source/basicide/unomodel.cxx2
-rw-r--r--basctl/source/basicide/unomodel.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/register.cxx b/basctl/source/basicide/register.cxx
index 22d06f80bb2d..8219af8858a0 100644
--- a/basctl/source/basicide/register.cxx
+++ b/basctl/source/basicide/register.cxx
@@ -32,7 +32,7 @@ using namespace ::com::sun::star::lang;
extern "C" {
-SAL_DLLPUBLIC_EXPORT void* SAL_CALL basctl_component_getFactory( const sal_Char* pImplementationName,
+SAL_DLLPUBLIC_EXPORT void* basctl_component_getFactory( const sal_Char* pImplementationName,
void* pServiceManager,
void* )
{
diff --git a/basctl/source/basicide/unomodel.cxx b/basctl/source/basicide/unomodel.cxx
index f823dfedd115..b85090a04833 100644
--- a/basctl/source/basicide/unomodel.cxx
+++ b/basctl/source/basicide/unomodel.cxx
@@ -103,7 +103,7 @@ uno::Sequence< OUString > SIDEModel::getSupportedServiceNames_Static()
return { "com.sun.star.script.BasicIDE" };
}
-uno::Reference< uno::XInterface > SAL_CALL SIDEModel_createInstance(
+uno::Reference< uno::XInterface > SIDEModel_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & )
{
SolarMutexGuard aGuard;
diff --git a/basctl/source/basicide/unomodel.hxx b/basctl/source/basicide/unomodel.hxx
index 3d5fa6966cc6..b73fa5fa0814 100644
--- a/basctl/source/basicide/unomodel.hxx
+++ b/basctl/source/basicide/unomodel.hxx
@@ -60,7 +60,7 @@ public:
};
/// @throws com::sun::star::uno::Exception
-css::uno::Reference< css::uno::XInterface > SAL_CALL SIDEModel_createInstance(
+css::uno::Reference< css::uno::XInterface > SIDEModel_createInstance(
const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr );
} // namespace basctl