From 3af500580b1c82eabd60335c9ebc458a3f68850c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Dec 2017 15:58:41 +0200 Subject: 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 Reviewed-by: Noel Grandin --- svgio/source/svguno/svguno.cxx | 2 +- svgio/source/svguno/xsvgparser.cxx | 2 +- svgio/source/svguno/xsvgparser.hxx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'svgio') diff --git a/svgio/source/svguno/svguno.cxx b/svgio/source/svguno/svguno.cxx index 3176aaf0b302..05baa2cb6e35 100644 --- a/svgio/source/svguno/svguno.cxx +++ b/svgio/source/svguno/svguno.cxx @@ -36,7 +36,7 @@ static cppu::ImplementationEntry const services[] = { } -extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL svgio_component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void * svgio_component_getFactory( char const * pImplName, void * pServiceManager, void * pRegistryKey) { return cppu::component_getFactoryHelper( diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx index 0e666fc6d597..2b8e71a8df17 100644 --- a/svgio/source/svguno/xsvgparser.cxx +++ b/svgio/source/svguno/xsvgparser.cxx @@ -79,7 +79,7 @@ namespace svgio return OUString( "svgio::svgreader::XSvgParser" ); } - uno::Reference< uno::XInterface > SAL_CALL XSvgParser_createInstance(const uno::Reference< uno::XComponentContext >& context) + uno::Reference< uno::XInterface > XSvgParser_createInstance(const uno::Reference< uno::XComponentContext >& context) { return static_cast< ::cppu::OWeakObject* >(new XSvgParser(context)); } diff --git a/svgio/source/svguno/xsvgparser.hxx b/svgio/source/svguno/xsvgparser.hxx index 3c96049f4ba2..a02467589d1c 100644 --- a/svgio/source/svguno/xsvgparser.hxx +++ b/svgio/source/svguno/xsvgparser.hxx @@ -35,12 +35,12 @@ namespace com { namespace sun { namespace star { namespace svgio { namespace svgreader { -css::uno::Reference< css::uno::XInterface > SAL_CALL +css::uno::Reference< css::uno::XInterface > XSvgParser_createInstance( css::uno::Reference< css::uno::XComponentContext > const &); -OUString SAL_CALL XSvgParser_getImplementationName(); +OUString XSvgParser_getImplementationName(); -css::uno::Sequence< OUString > SAL_CALL +css::uno::Sequence< OUString > XSvgParser_getSupportedServiceNames(); } } -- cgit