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 /embedserv/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 'embedserv/source')
-rw-r--r-- | embedserv/source/embed/register.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/embedserv/source/embed/register.cxx b/embedserv/source/embed/register.cxx index d4c7849b8337..461e831b6abf 100644 --- a/embedserv/source/embed/register.cxx +++ b/embedserv/source/embed/register.cxx @@ -32,20 +32,20 @@ using namespace ::com::sun::star; /// @throws uno::Exception -uno::Reference<uno::XInterface> SAL_CALL EmbedServer_createInstance( +uno::Reference<uno::XInterface> EmbedServer_createInstance( const uno::Reference<lang::XMultiServiceFactory> & xSMgr) { uno::Reference<uno::XInterface > xService = *new EmbedServer_Impl( xSMgr ); return xService; } -OUString SAL_CALL EmbedServer_getImplementationName() throw() +OUString EmbedServer_getImplementationName() throw() { return OUString("com.sun.star.comp.ole.EmbedServer"); } -uno::Sequence< OUString > SAL_CALL EmbedServer_getSupportedServiceNames() throw() +uno::Sequence< OUString > EmbedServer_getSupportedServiceNames() throw() { uno::Sequence<OUString> aServiceNames { "com.sun.star.document.OleEmbeddedServerRegistration" }; return aServiceNames; @@ -53,7 +53,7 @@ uno::Sequence< OUString > SAL_CALL EmbedServer_getSupportedServiceNames() throw( extern "C" { -SAL_DLLPUBLIC_EXPORT void * SAL_CALL emser_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) +SAL_DLLPUBLIC_EXPORT void * emser_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { void * pRet = nullptr; |