diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-12-15 10:21:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-12-15 14:46:51 +0100 |
commit | c3250baa4a8029817f0d7fcaee8b9ffe169c6cb7 (patch) | |
tree | cfdd547dfe4e3c9ae5bf22123a4f1d99ea84d94b /shell/source | |
parent | 65ee299a0c0e9044d809e58c3c5e75d05ad76f0e (diff) |
loplugin:salcall (clang-cl)
Change-Id: Idda630320bb5e02e1ea675b3b3786c9ec6ac166b
Reviewed-on: https://gerrit.libreoffice.org/46504
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell/source')
-rw-r--r-- | shell/source/backends/wininetbe/wininetbecdef.cxx | 4 | ||||
-rw-r--r-- | shell/source/win32/SysShExec.cxx | 2 | ||||
-rw-r--r-- | shell/source/win32/SysShentry.cxx | 4 | ||||
-rw-r--r-- | shell/source/win32/simplemail/smplmailentry.cxx | 4 | ||||
-rw-r--r-- | shell/source/win32/simplemail/smplmailsuppl.cxx | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/shell/source/backends/wininetbe/wininetbecdef.cxx b/shell/source/backends/wininetbe/wininetbecdef.cxx index 063dc1f47048..92bb5c8f65ce 100644 --- a/shell/source/backends/wininetbe/wininetbecdef.cxx +++ b/shell/source/backends/wininetbe/wininetbecdef.cxx @@ -27,7 +27,7 @@ namespace uno = com::sun::star::uno ; -static uno::Reference<uno::XInterface> SAL_CALL createWinInetBackend( +static uno::Reference<uno::XInterface> createWinInetBackend( const uno::Reference<uno::XComponentContext>&){ return * WinInetBackend::createInstance(); @@ -48,7 +48,7 @@ static const cppu::ImplementationEntry kImplementations_entries[] = } ; -extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL wininetbe1_component_getFactory( const sal_Char *aImplementationName, +extern "C" SAL_DLLPUBLIC_EXPORT void * wininetbe1_component_getFactory( const sal_Char *aImplementationName, void *aServiceManager, void *aRegistryKey) { diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx index 55b20e62fc46..a4e4d63e5a53 100644 --- a/shell/source/win32/SysShExec.cxx +++ b/shell/source/win32/SysShExec.cxx @@ -56,7 +56,7 @@ using namespace cppu; namespace { - Sequence< OUString > SAL_CALL SysShExec_getSupportedServiceNames() + Sequence< OUString > SysShExec_getSupportedServiceNames() { Sequence< OUString > aRet { "com.sun.star.system.SystemShellExecute" }; return aRet; diff --git a/shell/source/win32/SysShentry.cxx b/shell/source/win32/SysShentry.cxx index 7a53c5436fef..a363edafdccf 100644 --- a/shell/source/win32/SysShentry.cxx +++ b/shell/source/win32/SysShentry.cxx @@ -33,7 +33,7 @@ using com::sun::star::system::XSystemShellExecute; namespace { - Reference< XInterface > SAL_CALL createInstance( const Reference< XComponentContext >& xContext ) + Reference< XInterface > createInstance( const Reference< XComponentContext >& xContext ) { return Reference< XInterface >( static_cast< XSystemShellExecute* >( new CSysShExec(xContext) ) ); } @@ -42,7 +42,7 @@ namespace extern "C" { -SAL_DLLPUBLIC_EXPORT void* SAL_CALL syssh_component_getFactory( +SAL_DLLPUBLIC_EXPORT void* syssh_component_getFactory( const sal_Char* pImplName, void*, void* /*pRegistryKey*/ ) { void* pRet = nullptr; diff --git a/shell/source/win32/simplemail/smplmailentry.cxx b/shell/source/win32/simplemail/smplmailentry.cxx index 25aaeb1d5f75..685f29983b72 100644 --- a/shell/source/win32/simplemail/smplmailentry.cxx +++ b/shell/source/win32/simplemail/smplmailentry.cxx @@ -33,7 +33,7 @@ using com::sun::star::system::XSimpleMailClientSupplier; namespace { - Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceFactory >& ) + Reference< XInterface > createInstance( const Reference< XMultiServiceFactory >& ) { return Reference< XInterface >( static_cast< XSimpleMailClientSupplier* >( new CSmplMailSuppl( ) ) ); } @@ -42,7 +42,7 @@ namespace extern "C" { -SAL_DLLPUBLIC_EXPORT void* SAL_CALL smplmail_component_getFactory( +SAL_DLLPUBLIC_EXPORT void* smplmail_component_getFactory( const sal_Char* pImplName, void* pSrvManager, void* /*pRegistryKey*/ ) { void* pRet = nullptr; diff --git a/shell/source/win32/simplemail/smplmailsuppl.cxx b/shell/source/win32/simplemail/smplmailsuppl.cxx index 22410f80216c..4e8aecc92a3d 100644 --- a/shell/source/win32/simplemail/smplmailsuppl.cxx +++ b/shell/source/win32/simplemail/smplmailsuppl.cxx @@ -34,7 +34,7 @@ using namespace cppu; namespace { - Sequence< OUString > SAL_CALL Component_getSupportedServiceNames() + Sequence< OUString > Component_getSupportedServiceNames() { Sequence< OUString > aRet { "com.sun.star.system.SimpleSystemMail" }; return aRet; |