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 /xmloff/source/text/XMLAutoTextEventExport.cxx | |
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 'xmloff/source/text/XMLAutoTextEventExport.cxx')
-rw-r--r-- | xmloff/source/text/XMLAutoTextEventExport.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx index 3066d047a30f..0853e44d78b4 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.cxx +++ b/xmloff/source/text/XMLAutoTextEventExport.cxx @@ -202,19 +202,19 @@ void XMLAutoTextEventExport::ExportContent_() {} // methods to support the component registration -Sequence< OUString > SAL_CALL XMLAutoTextEventExport_getSupportedServiceNames() +Sequence< OUString > XMLAutoTextEventExport_getSupportedServiceNames() throw() { Sequence<OUString> aSeq { XMLAutoTextEventExport_getImplementationName() }; return aSeq; } -OUString SAL_CALL XMLAutoTextEventExport_getImplementationName() throw() +OUString XMLAutoTextEventExport_getImplementationName() throw() { return OUString( "com.sun.star.comp.Writer.XMLOasisAutotextEventsExporter" ); } -Reference< XInterface > SAL_CALL XMLAutoTextEventExport_createInstance( +Reference< XInterface > XMLAutoTextEventExport_createInstance( const Reference< XMultiServiceFactory > & rSMgr) { return static_cast<cppu::OWeakObject*>(new XMLAutoTextEventExport( comphelper::getComponentContext(rSMgr), XMLAutoTextEventExport_getImplementationName(), SvXMLExportFlags::ALL|SvXMLExportFlags::OASIS)); @@ -222,19 +222,19 @@ Reference< XInterface > SAL_CALL XMLAutoTextEventExport_createInstance( // methods to support the component registration -Sequence< OUString > SAL_CALL XMLAutoTextEventExportOOO_getSupportedServiceNames() +Sequence< OUString > XMLAutoTextEventExportOOO_getSupportedServiceNames() throw() { Sequence<OUString> aSeq { XMLAutoTextEventExportOOO_getImplementationName() }; return aSeq; } -OUString SAL_CALL XMLAutoTextEventExportOOO_getImplementationName() throw() +OUString XMLAutoTextEventExportOOO_getImplementationName() throw() { return OUString( "com.sun.star.comp.Writer.XMLAutotextEventsExporter" ); } -Reference< XInterface > SAL_CALL XMLAutoTextEventExportOOO_createInstance( +Reference< XInterface > XMLAutoTextEventExportOOO_createInstance( const Reference< XMultiServiceFactory > & rSMgr) { return static_cast<cppu::OWeakObject*>(new XMLAutoTextEventExport( comphelper::getComponentContext(rSMgr), XMLAutoTextEventExportOOO_getImplementationName(), SvXMLExportFlags::ALL)); |