diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-12-14 09:07:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-12-15 08:48:12 +0100 |
commit | f97125829c5c0733af9fef58ce73ac712a85aeb0 (patch) | |
tree | e99766144316faf05536d291fe94d015ad5b3447 /connectivity | |
parent | 5f4b126f74b1fa85f99a0ee3dfdf45368b6a1bb7 (diff) |
loplugin:salcall (macOS)
Change-Id: I297ac09358ce948acae9b73e8ed605964520c73b
Reviewed-on: https://gerrit.libreoffice.org/46437
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
5 files changed, 6 insertions, 6 deletions
diff --git a/connectivity/source/drivers/macab/MacabConnection.cxx b/connectivity/source/drivers/macab/MacabConnection.cxx index 1425e3e55b63..fb3710df034d 100644 --- a/connectivity/source/drivers/macab/MacabConnection.cxx +++ b/connectivity/source/drivers/macab/MacabConnection.cxx @@ -285,7 +285,7 @@ void MacabConnection::disposing() MacabConnection_BASE::disposing(); } -Reference< XTablesSupplier > SAL_CALL MacabConnection::createCatalog() +Reference< XTablesSupplier > MacabConnection::createCatalog() { ::osl::MutexGuard aGuard( m_aMutex ); @@ -304,7 +304,7 @@ MacabAddressBook* MacabConnection::getAddressBook() const return m_pAddressBook; } -extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL createMacabConnection( void* _pDriver ) +extern "C" SAL_DLLPUBLIC_EXPORT void* createMacabConnection( void* _pDriver ) { MacabConnection* pConnection = new MacabConnection( static_cast< MacabDriver* >( _pDriver ) ); // by definition, the pointer crossing library boundaries as void ptr is acquired once diff --git a/connectivity/source/drivers/macab/MacabConnection.hxx b/connectivity/source/drivers/macab/MacabConnection.hxx index 8cf5c3d0aff0..38b41a13c0b3 100644 --- a/connectivity/source/drivers/macab/MacabConnection.hxx +++ b/connectivity/source/drivers/macab/MacabConnection.hxx @@ -108,7 +108,7 @@ namespace connectivity virtual void SAL_CALL clearWarnings( ) override; // needed for the SQL interpreter - css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL createCatalog(); + css::uno::Reference< css::sdbcx::XTablesSupplier > createCatalog(); // accessors MacabDriver* getDriver() const { return m_pDriver;} diff --git a/connectivity/source/drivers/macab/MacabDriver.cxx b/connectivity/source/drivers/macab/MacabDriver.cxx index 18a1e017d9cf..52345ec571d1 100644 --- a/connectivity/source/drivers/macab/MacabDriver.cxx +++ b/connectivity/source/drivers/macab/MacabDriver.cxx @@ -105,7 +105,7 @@ namespace } -extern "C" { static void SAL_CALL thisModule() {} } +extern "C" { static void thisModule() {} } bool MacabImplModule::impl_loadModule() { diff --git a/connectivity/source/drivers/macab/MacabServices.cxx b/connectivity/source/drivers/macab/MacabServices.cxx index faf214f703da..ed64a21f9181 100644 --- a/connectivity/source/drivers/macab/MacabServices.cxx +++ b/connectivity/source/drivers/macab/MacabServices.cxx @@ -74,7 +74,7 @@ struct ProviderRequest }; -extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL macab_component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void* macab_component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, void*) diff --git a/connectivity/source/drivers/macab/MacabTables.hxx b/connectivity/source/drivers/macab/MacabTables.hxx index 849e3e0f2634..eb11ef8e77ab 100644 --- a/connectivity/source/drivers/macab/MacabTables.hxx +++ b/connectivity/source/drivers/macab/MacabTables.hxx @@ -45,7 +45,7 @@ namespace connectivity m_xMetaData(_rMetaData) { } - virtual void SAL_CALL disposing() override; + virtual void disposing() override; }; } } |