diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-06 08:59:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-07 11:25:55 +0100 |
commit | dd0dceb51122b4e8e969f848d9f046e91962d254 (patch) | |
tree | f927f0870a54ad7cb887e6e7d5bb7956d44d0665 /include/connectivity | |
parent | solenv: add clang-format documentation (diff) | |
download | core-dd0dceb51122b4e8e969f848d9f046e91962d254.tar.gz core-dd0dceb51122b4e8e969f848d9f046e91962d254.zip |
loplugin:salcall handle static methods
Change-Id: Id6820abec4b8ca8bee26d62b333fd30b42a14aec
Reviewed-on: https://gerrit.libreoffice.org/46007
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/FValue.hxx | 8 | ||||
-rw-r--r-- | include/connectivity/sqliterator.hxx | 8 | ||||
-rw-r--r-- | include/connectivity/sqlscan.hxx | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx index 33279f12757e..241f14ce0b0a 100644 --- a/include/connectivity/FValue.hxx +++ b/include/connectivity/FValue.hxx @@ -278,13 +278,13 @@ namespace connectivity free(); } - static void * SAL_CALL operator new( size_t nSize ) + static void * operator new( size_t nSize ) { return ::rtl_allocateMemory( nSize ); } - static void * SAL_CALL operator new( size_t,void* _pHint ) + static void * operator new( size_t,void* _pHint ) { return _pHint; } - static void SAL_CALL operator delete( void * pMem ) + static void operator delete( void * pMem ) { ::rtl_freeMemory( pMem ); } - static void SAL_CALL operator delete( void *,void* ) + static void operator delete( void *,void* ) { } ORowSetValue& operator=(const ORowSetValue& _rRH); diff --git a/include/connectivity/sqliterator.hxx b/include/connectivity/sqliterator.hxx index e9a0fc119768..68810e20b046 100644 --- a/include/connectivity/sqliterator.hxx +++ b/include/connectivity/sqliterator.hxx @@ -158,13 +158,13 @@ namespace connectivity const OSQLParser& _rParser ); ~OSQLParseTreeIterator(); - static void * SAL_CALL operator new( size_t nSize ) + static void * operator new( size_t nSize ) { return ::rtl_allocateMemory( nSize ); } - static void * SAL_CALL operator new( size_t,void* _pHint ) + static void * operator new( size_t,void* _pHint ) { return _pHint; } - static void SAL_CALL operator delete( void * pMem ) + static void operator delete( void * pMem ) { ::rtl_freeMemory( pMem ); } - static void SAL_CALL operator delete( void *,void* ) + static void operator delete( void *,void* ) { } void dispose(); diff --git a/include/connectivity/sqlscan.hxx b/include/connectivity/sqlscan.hxx index 3d9304882539..12addf24a2be 100644 --- a/include/connectivity/sqlscan.hxx +++ b/include/connectivity/sqlscan.hxx @@ -44,13 +44,13 @@ namespace connectivity OSQLScanner(); virtual ~OSQLScanner(); - static void * SAL_CALL operator new( size_t nSize ) + static void * operator new( size_t nSize ) { return ::rtl_allocateMemory( nSize ); } - static void * SAL_CALL operator new( size_t,void* _pHint ) + static void * operator new( size_t,void* _pHint ) { return _pHint; } - static void SAL_CALL operator delete( void * pMem ) + static void operator delete( void * pMem ) { ::rtl_freeMemory( pMem ); } - static void SAL_CALL operator delete( void *,void* ) + static void operator delete( void *,void* ) { } sal_Int32 SQLyygetc(); |