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 /include/xmlscript | |
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 'include/xmlscript')
-rw-r--r-- | include/xmlscript/xml_helper.hxx | 6 | ||||
-rw-r--r-- | include/xmlscript/xmldlg_imexp.hxx | 8 | ||||
-rw-r--r-- | include/xmlscript/xmllib_imexp.hxx | 8 | ||||
-rw-r--r-- | include/xmlscript/xmlmod_imexp.hxx | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/include/xmlscript/xml_helper.hxx b/include/xmlscript/xml_helper.hxx index 92ac0ed3b2a4..dad9f599f158 100644 --- a/include/xmlscript/xml_helper.hxx +++ b/include/xmlscript/xml_helper.hxx @@ -105,15 +105,15 @@ private: ##################################################################################################*/ XMLSCRIPT_DLLPUBLIC css::uno::Reference< css::io::XInputStream > -SAL_CALL createInputStream( +createInputStream( std::vector<sal_Int8> const & rInData ); XMLSCRIPT_DLLPUBLIC css::uno::Reference< css::io::XInputStream > -SAL_CALL createInputStream( +createInputStream( const sal_Int8* pData, int len ); XMLSCRIPT_DLLPUBLIC css::uno::Reference< css::io::XOutputStream > -SAL_CALL createOutputStream( +createOutputStream( std::vector<sal_Int8> * pOutData ); } diff --git a/include/xmlscript/xmldlg_imexp.hxx b/include/xmlscript/xmldlg_imexp.hxx index 3436e1b8c562..34286a7f66b6 100644 --- a/include/xmlscript/xmldlg_imexp.hxx +++ b/include/xmlscript/xmldlg_imexp.hxx @@ -32,13 +32,13 @@ namespace xmlscript { -XMLSCRIPT_DLLPUBLIC void SAL_CALL exportDialogModel( +XMLSCRIPT_DLLPUBLIC void exportDialogModel( css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > const & xOut, css::uno::Reference< css::container::XNameContainer > const & xDialogModel, css::uno::Reference< css::frame::XModel > const & xDocument ); XMLSCRIPT_DLLPUBLIC css::uno::Reference< css::xml::sax::XDocumentHandler > -SAL_CALL importDialogModel( +importDialogModel( css::uno::Reference< css::container::XNameContainer > const & xDialogModel, css::uno::Reference< css::uno::XComponentContext > const & xContext, css::uno::Reference< css::frame::XModel > const & xDocument ); @@ -46,12 +46,12 @@ SAL_CALL importDialogModel( // additional functions for convenience XMLSCRIPT_DLLPUBLIC css::uno::Reference< css::io::XInputStreamProvider > -SAL_CALL exportDialogModel( +exportDialogModel( css::uno::Reference< css::container::XNameContainer > const & xDialogModel, css::uno::Reference< css::uno::XComponentContext > const & xContext, css::uno::Reference< css::frame::XModel > const & xDocument ); -XMLSCRIPT_DLLPUBLIC void SAL_CALL importDialogModel( +XMLSCRIPT_DLLPUBLIC void importDialogModel( css::uno::Reference< css::io::XInputStream > const & xInput, css::uno::Reference< css::container::XNameContainer > const & xDialogModel, css::uno::Reference< css::uno::XComponentContext > const & xContext, diff --git a/include/xmlscript/xmllib_imexp.hxx b/include/xmlscript/xmllib_imexp.hxx index c54324219ecf..6bd49a47b23c 100644 --- a/include/xmlscript/xmllib_imexp.hxx +++ b/include/xmlscript/xmllib_imexp.hxx @@ -59,23 +59,23 @@ struct XMLSCRIPT_DLLPUBLIC LibDescriptorArray }; XMLSCRIPT_DLLPUBLIC void -SAL_CALL exportLibraryContainer( +exportLibraryContainer( css::uno::Reference< css::xml::sax::XWriter > const & xOut, const LibDescriptorArray* pLibArray ); XMLSCRIPT_DLLPUBLIC css::uno::Reference< css::xml::sax::XDocumentHandler > -SAL_CALL importLibraryContainer( LibDescriptorArray* pLibArray ); +importLibraryContainer( LibDescriptorArray* pLibArray ); XMLSCRIPT_DLLPUBLIC void -SAL_CALL exportLibrary( +exportLibrary( css::uno::Reference< css::xml::sax::XWriter > const & xOut, const LibDescriptor& rLib ); XMLSCRIPT_DLLPUBLIC css::uno::Reference< css::xml::sax::XDocumentHandler > -SAL_CALL importLibrary( LibDescriptor& rLib ); +importLibrary( LibDescriptor& rLib ); } diff --git a/include/xmlscript/xmlmod_imexp.hxx b/include/xmlscript/xmlmod_imexp.hxx index 41dd8a5ccaee..dd974cc712f6 100644 --- a/include/xmlscript/xmlmod_imexp.hxx +++ b/include/xmlscript/xmlmod_imexp.hxx @@ -40,12 +40,12 @@ struct XMLSCRIPT_DLLPUBLIC ModuleDescriptor }; XMLSCRIPT_DLLPUBLIC void -SAL_CALL exportScriptModule( +exportScriptModule( css::uno::Reference< css::xml::sax::XWriter > const & xOut, const ModuleDescriptor& rMod ); XMLSCRIPT_DLLPUBLIC css::uno::Reference< css::xml::sax::XDocumentHandler > -SAL_CALL importScriptModule( ModuleDescriptor& rMod ); +importScriptModule( ModuleDescriptor& rMod ); } |