summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unodoc.cxx
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 /sw/source/uibase/uno/unodoc.cxx
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 'sw/source/uibase/uno/unodoc.cxx')
-rw-r--r--sw/source/uibase/uno/unodoc.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/uno/unodoc.cxx b/sw/source/uibase/uno/unodoc.cxx
index 2a63caf061c4..08c032796e90 100644
--- a/sw/source/uibase/uno/unodoc.cxx
+++ b/sw/source/uibase/uno/unodoc.cxx
@@ -30,7 +30,7 @@ using namespace ::com::sun::star;
// com.sun.star.comp.Writer.TextDocument
-uno::Sequence< OUString > SAL_CALL SwTextDocument_getSupportedServiceNames() throw()
+uno::Sequence< OUString > SwTextDocument_getSupportedServiceNames() throw()
{
// return only top level services here! All others must be
// resolved by rtti!
@@ -38,12 +38,12 @@ uno::Sequence< OUString > SAL_CALL SwTextDocument_getSupportedServiceNames() thr
return aRet;
}
-OUString SAL_CALL SwTextDocument_getImplementationName() throw()
+OUString SwTextDocument_getImplementationName() throw()
{
return OUString( "com.sun.star.comp.Writer.TextDocument" );
}
-uno::Reference< uno::XInterface > SAL_CALL SwTextDocument_createInstance(
+uno::Reference< uno::XInterface > SwTextDocument_createInstance(
const uno::Reference< lang::XMultiServiceFactory >&, SfxModelFlags _nCreationFlags )
{
SolarMutexGuard aGuard;
@@ -52,7 +52,7 @@ uno::Reference< uno::XInterface > SAL_CALL SwTextDocument_createInstance(
return uno::Reference< uno::XInterface >( pShell->GetModel() );
}
-extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
com_sun_star_comp_Writer_WebDocument_get_implementation(css::uno::XComponentContext*,
css::uno::Sequence<css::uno::Any> const &)
{
@@ -65,7 +65,7 @@ com_sun_star_comp_Writer_WebDocument_get_implementation(css::uno::XComponentCont
}
-extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
com_sun_star_comp_Writer_GlobalDocument_get_implementation(css::uno::XComponentContext*,
css::uno::Sequence<css::uno::Any> const &)
{