summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-08 15:58:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-11 12:13:46 +0100
commit3af500580b1c82eabd60335c9ebc458a3f68850c (patch)
treee0ad105be694cfb46221d16e9ce987879794fa04 /sc/inc
parent0f9a596aa853b4f2beeff25c131246a7b31492a4 (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 'sc/inc')
-rw-r--r--sc/inc/appluno.hxx38
-rw-r--r--sc/inc/filter.hxx2
-rw-r--r--sc/inc/rangelst.hxx2
-rw-r--r--sc/inc/rangenam.hxx2
4 files changed, 22 insertions, 22 deletions
diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx
index 8ae79b293bbd..58ec1563319c 100644
--- a/sc/inc/appluno.hxx
+++ b/sc/inc/appluno.hxx
@@ -33,7 +33,7 @@
#include <rtl/ustring.hxx>
#include <sfx2/sfxmodelfactory.hxx>
-css::uno::Reference<css::uno::XInterface> SAL_CALL
+css::uno::Reference<css::uno::XInterface>
ScSpreadsheetSettings_CreateInstance(
const css::uno::Reference< css::lang::XMultiServiceFactory>& rSMgr );
css::uno::Reference<css::uno::XInterface> SAL_CALL
@@ -44,37 +44,37 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL
const css::uno::Reference< css::lang::XMultiServiceFactory>& rSMgr );
// Calc document
-css::uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw();
-OUString SAL_CALL ScDocument_getImplementationName() throw();
+css::uno::Sequence< OUString > ScDocument_getSupportedServiceNames() throw();
+OUString ScDocument_getImplementationName() throw();
/// @throws css::uno::Exception
-css::uno::Reference< css::uno::XInterface > SAL_CALL ScDocument_createInstance(
+css::uno::Reference< css::uno::XInterface > ScDocument_createInstance(
const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr, SfxModelFlags _nCreationFlags );
// Calc XML import
-css::uno::Sequence< OUString > SAL_CALL ScXMLImport_getSupportedServiceNames() throw();
-OUString SAL_CALL ScXMLImport_getImplementationName() throw();
+css::uno::Sequence< OUString > ScXMLImport_getSupportedServiceNames() throw();
+OUString ScXMLImport_getImplementationName() throw();
/// @throws css::uno::Exception
-css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_createInstance(
+css::uno::Reference< css::uno::XInterface > ScXMLImport_createInstance(
const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr );
-css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Meta_getSupportedServiceNames() throw();
-OUString SAL_CALL ScXMLImport_Meta_getImplementationName() throw();
+css::uno::Sequence< OUString > ScXMLImport_Meta_getSupportedServiceNames() throw();
+OUString ScXMLImport_Meta_getImplementationName() throw();
/// @throws css::uno::Exception
-css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Meta_createInstance(
+css::uno::Reference< css::uno::XInterface > ScXMLImport_Meta_createInstance(
const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr );
-css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Styles_getSupportedServiceNames() throw();
-OUString SAL_CALL ScXMLImport_Styles_getImplementationName() throw();
+css::uno::Sequence< OUString > ScXMLImport_Styles_getSupportedServiceNames() throw();
+OUString ScXMLImport_Styles_getImplementationName() throw();
/// @throws css::uno::Exception
-css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Styles_createInstance(
+css::uno::Reference< css::uno::XInterface > ScXMLImport_Styles_createInstance(
const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr );
-css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Content_getSupportedServiceNames() throw();
-OUString SAL_CALL ScXMLImport_Content_getImplementationName() throw();
+css::uno::Sequence< OUString > ScXMLImport_Content_getSupportedServiceNames() throw();
+OUString ScXMLImport_Content_getImplementationName() throw();
/// @throws css::uno::Exception
-css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Content_createInstance(
+css::uno::Reference< css::uno::XInterface > ScXMLImport_Content_createInstance(
const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr );
-css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Settings_getSupportedServiceNames() throw();
-OUString SAL_CALL ScXMLImport_Settings_getImplementationName() throw();
+css::uno::Sequence< OUString > ScXMLImport_Settings_getSupportedServiceNames() throw();
+OUString ScXMLImport_Settings_getImplementationName() throw();
/// @throws css::uno::Exception
-css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Settings_createInstance(
+css::uno::Reference< css::uno::XInterface > ScXMLImport_Settings_createInstance(
const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr );
class ScSpreadsheetSettings : public cppu::WeakImplHelper<
diff --git a/sc/inc/filter.hxx b/sc/inc/filter.hxx
index 56e25f55b6e9..0af471c6440d 100644
--- a/sc/inc/filter.hxx
+++ b/sc/inc/filter.hxx
@@ -92,7 +92,7 @@ protected:
// scfilt plugin symbol
extern "C" {
- SAL_DLLPUBLIC_EXPORT ScFormatFilterPlugin * SAL_CALL ScFilterCreate();
+ SAL_DLLPUBLIC_EXPORT ScFormatFilterPlugin * ScFilterCreate();
}
class ScFormatFilter {
diff --git a/sc/inc/rangelst.hxx b/sc/inc/rangelst.hxx
index d9f4067a3899..2071e8a66ff1 100644
--- a/sc/inc/rangelst.hxx
+++ b/sc/inc/rangelst.hxx
@@ -152,7 +152,7 @@ private:
typedef tools::SvRef<ScRangePairList> ScRangePairListRef;
extern "C"
-int SAL_CALL ScRangePairList_QsortNameCompare( const void*, const void* );
+int ScRangePairList_QsortNameCompare( const void*, const void* );
#endif
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx
index b9fae7492d95..fb0335768eeb 100644
--- a/sc/inc/rangenam.hxx
+++ b/sc/inc/rangenam.hxx
@@ -189,7 +189,7 @@ inline bool ScRangeData::HasType( Type nType ) const
return ( ( eType & nType ) == nType );
}
-extern "C" int SAL_CALL ScRangeData_QsortNameCompare( const void*, const void* );
+extern "C" int ScRangeData_QsortNameCompare( const void*, const void* );
class ScRangeName
{