diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-08 15:58:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-11 12:13:46 +0100 |
commit | 3af500580b1c82eabd60335c9ebc458a3f68850c (patch) | |
tree | e0ad105be694cfb46221d16e9ce987879794fa04 /emfio | |
parent | 0f9a596aa853b4f2beeff25c131246a7b31492a4 (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 'emfio')
-rw-r--r-- | emfio/source/emfuno/emfuno.cxx | 2 | ||||
-rw-r--r-- | emfio/source/emfuno/xemfparser.cxx | 2 | ||||
-rw-r--r-- | emfio/source/emfuno/xemfparser.hxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/emfio/source/emfuno/emfuno.cxx b/emfio/source/emfuno/emfuno.cxx index b027c5fe3cc2..1bf9e098d414 100644 --- a/emfio/source/emfuno/emfuno.cxx +++ b/emfio/source/emfuno/emfuno.cxx @@ -36,7 +36,7 @@ static cppu::ImplementationEntry const services[] = { } -extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL emfio_component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void * emfio_component_getFactory( char const * pImplName, void * pServiceManager, void * pRegistryKey) { return cppu::component_getFactoryHelper( diff --git a/emfio/source/emfuno/xemfparser.cxx b/emfio/source/emfuno/xemfparser.cxx index 63b88811e28f..7d0870025fa3 100644 --- a/emfio/source/emfuno/xemfparser.cxx +++ b/emfio/source/emfuno/xemfparser.cxx @@ -95,7 +95,7 @@ namespace emfio return OUString( "emfio::emfreader::XEmfParser" ); } - uno::Reference< uno::XInterface > SAL_CALL XEmfParser_createInstance(const uno::Reference< uno::XComponentContext >& context) + uno::Reference< uno::XInterface > XEmfParser_createInstance(const uno::Reference< uno::XComponentContext >& context) { return static_cast< ::cppu::OWeakObject* >(new XEmfParser(context)); } diff --git a/emfio/source/emfuno/xemfparser.hxx b/emfio/source/emfuno/xemfparser.hxx index da78322028dc..d68e1e681d51 100644 --- a/emfio/source/emfuno/xemfparser.hxx +++ b/emfio/source/emfuno/xemfparser.hxx @@ -35,12 +35,12 @@ namespace com { namespace sun { namespace star { namespace emfio { namespace emfreader { -css::uno::Reference< css::uno::XInterface > SAL_CALL +css::uno::Reference< css::uno::XInterface > XEmfParser_createInstance( css::uno::Reference< css::uno::XComponentContext > const &); -OUString SAL_CALL XEmfParser_getImplementationName(); +OUString XEmfParser_getImplementationName(); -css::uno::Sequence< OUString > SAL_CALL +css::uno::Sequence< OUString > XEmfParser_getSupportedServiceNames(); } } |