diff options
author | Alexander Bergmann <myaddons@gmx.de> | 2012-01-26 16:00:09 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-26 17:41:07 +0000 |
commit | 0439af27e1f37b19d4409f34f974d6ade49f99bf (patch) | |
tree | 13bbb2549319d74a1a109bf2727aab37dca5b8c7 /connectivity | |
parent | f1cb0a4ab4f11dc015be1696c7c7751802171915 (diff) |
Code cleanup: ( () ) replaced by (())
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/inc/connectivity/CommonTools.hxx | 8 | ||||
-rw-r--r-- | connectivity/inc/connectivity/FValue.hxx | 8 | ||||
-rw-r--r-- | connectivity/inc/connectivity/sqliterator.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_driver.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/OColumn.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/OTypeInfo.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/TKeyValue.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/TSkipDeletedSet.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/TSortIndex.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/file/fanalyzer.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/file/fcode.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/file/fcomp.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/sqlscan.hxx | 8 | ||||
-rw-r--r-- | connectivity/workben/iniParser/main.cxx | 4 |
15 files changed, 53 insertions, 53 deletions
diff --git a/connectivity/inc/connectivity/CommonTools.hxx b/connectivity/inc/connectivity/CommonTools.hxx index e483ab949f4a..79f666f0cf59 100644 --- a/connectivity/inc/connectivity/CommonTools.hxx +++ b/connectivity/inc/connectivity/CommonTools.hxx @@ -100,13 +100,13 @@ namespace connectivity std::vector< VectorVal > & get() { return m_vector; } std::vector< VectorVal > const & get() const { return m_vector; } - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void * SAL_CALL operator new( size_t, void * pMem ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t, void * pMem ) SAL_THROW(()) { return pMem; } - inline static void SAL_CALL operator delete( void *, void * ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void *, void * ) SAL_THROW(()) {} void acquire() diff --git a/connectivity/inc/connectivity/FValue.hxx b/connectivity/inc/connectivity/FValue.hxx index 955f8227c74a..64f44d487153 100644 --- a/connectivity/inc/connectivity/FValue.hxx +++ b/connectivity/inc/connectivity/FValue.hxx @@ -228,13 +228,13 @@ namespace connectivity free(); } - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(()) { } ORowSetValue& operator=(const ORowSetValue& _rRH); diff --git a/connectivity/inc/connectivity/sqliterator.hxx b/connectivity/inc/connectivity/sqliterator.hxx index eb316a80950d..b7cc0c06bcfe 100644 --- a/connectivity/inc/connectivity/sqliterator.hxx +++ b/connectivity/inc/connectivity/sqliterator.hxx @@ -142,13 +142,13 @@ namespace connectivity const OSQLParseNode* pRoot = NULL ); ~OSQLParseTreeIterator(); - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(()) { } void dispose(); diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx index 6acf6741bb24..b5bab384ed01 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.hxx @@ -47,10 +47,10 @@ struct ini_NameValue rtl::OUString sName; rtl::OUString sValue; - inline ini_NameValue() SAL_THROW( () ) + inline ini_NameValue() SAL_THROW(()) {} inline ini_NameValue( - OUString const & name, OUString const & value ) SAL_THROW( () ) + OUString const & name, OUString const & value ) SAL_THROW(()) : sName( name ), sValue( value ) {} diff --git a/connectivity/source/drivers/postgresql/pq_driver.cxx b/connectivity/source/drivers/postgresql/pq_driver.cxx index 93ca427166a7..dce19c777808 100644 --- a/connectivity/source/drivers/postgresql/pq_driver.cxx +++ b/connectivity/source/drivers/postgresql/pq_driver.cxx @@ -324,7 +324,7 @@ void OOneInstanceComponentFactory::disposing() // ::rtl::OUString const & rImplementationName, // ::com::sun::star::uno::Sequence< ::rtl::OUString > const & rServiceNames, // rtl_ModuleCount * pModCount = 0 ) -// SAL_THROW( () ) +// SAL_THROW(()) // { // return new OOneInstanceComponentFactory( rImplementationName, fptr , rServiceNames); // } diff --git a/connectivity/source/inc/OColumn.hxx b/connectivity/source/inc/OColumn.hxx index 7efae973384f..076a4e68123f 100644 --- a/connectivity/source/inc/OColumn.hxx +++ b/connectivity/source/inc/OColumn.hxx @@ -108,13 +108,13 @@ namespace connectivity m_ColumnLabel = _aColumnName; } - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t ,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t ,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(()) { } sal_Bool isAutoIncrement() const { return m_AutoIncrement; } diff --git a/connectivity/source/inc/OTypeInfo.hxx b/connectivity/source/inc/OTypeInfo.hxx index 13f0fd2975ce..825bf4e90697 100644 --- a/connectivity/source/inc/OTypeInfo.hxx +++ b/connectivity/source/inc/OTypeInfo.hxx @@ -73,13 +73,13 @@ namespace connectivity ,bUnsigned(sal_False) {} - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW(()) { } sal_Bool operator == (const OTypeInfo& lh) const { return lh.nType == nType; } diff --git a/connectivity/source/inc/TKeyValue.hxx b/connectivity/source/inc/TKeyValue.hxx index b5fa33b5c493..150a8ab96996 100644 --- a/connectivity/source/inc/TKeyValue.hxx +++ b/connectivity/source/inc/TKeyValue.hxx @@ -46,13 +46,13 @@ namespace connectivity ~OKeyValue(); - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(()) { } static OKeyValue* createKeyValue(sal_Int32 nVal); diff --git a/connectivity/source/inc/TSkipDeletedSet.hxx b/connectivity/source/inc/TSkipDeletedSet.hxx index 19548a5e8ccd..90e69d25e8c4 100644 --- a/connectivity/source/inc/TSkipDeletedSet.hxx +++ b/connectivity/source/inc/TSkipDeletedSet.hxx @@ -50,13 +50,13 @@ namespace connectivity OSkipDeletedSet(IResultSetHelper* _pHelper); ~OSkipDeletedSet(); - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(()) { } /** diff --git a/connectivity/source/inc/TSortIndex.hxx b/connectivity/source/inc/TSortIndex.hxx index 21212bc90ce6..419966f3e5b7 100644 --- a/connectivity/source/inc/TSortIndex.hxx +++ b/connectivity/source/inc/TSortIndex.hxx @@ -72,13 +72,13 @@ namespace connectivity ~OSortIndex(); - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(()) { } diff --git a/connectivity/source/inc/file/fanalyzer.hxx b/connectivity/source/inc/file/fanalyzer.hxx index 386807c05391..03045f7476aa 100644 --- a/connectivity/source/inc/file/fanalyzer.hxx +++ b/connectivity/source/inc/file/fanalyzer.hxx @@ -55,13 +55,13 @@ namespace connectivity public: OSQLAnalyzer(OConnection* _pConnection); virtual ~OSQLAnalyzer(); - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW(()) { } OConnection* getConnection() const { return m_pConnection; } diff --git a/connectivity/source/inc/file/fcode.hxx b/connectivity/source/inc/file/fcode.hxx index ce489a34832d..c74e633ce7a5 100644 --- a/connectivity/source/inc/file/fcode.hxx +++ b/connectivity/source/inc/file/fcode.hxx @@ -62,13 +62,13 @@ namespace connectivity OCode(); virtual ~OCode(); - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW(()) { } TYPEINFO(); diff --git a/connectivity/source/inc/file/fcomp.hxx b/connectivity/source/inc/file/fcomp.hxx index 8a09061d3781..ebf6c3b340f0 100644 --- a/connectivity/source/inc/file/fcomp.hxx +++ b/connectivity/source/inc/file/fcomp.hxx @@ -60,13 +60,13 @@ namespace connectivity virtual ~OPredicateCompiler(); - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t /*nSize*/,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW(()) { } void dispose(); diff --git a/connectivity/source/inc/sqlscan.hxx b/connectivity/source/inc/sqlscan.hxx index 87ab6e783337..66f2b768dd9f 100644 --- a/connectivity/source/inc/sqlscan.hxx +++ b/connectivity/source/inc/sqlscan.hxx @@ -53,13 +53,13 @@ namespace connectivity OSQLScanner(); virtual ~OSQLScanner(); - inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW(()) { return ::rtl_allocateMemory( nSize ); } - inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW( () ) + inline static void * SAL_CALL operator new( size_t,void* _pHint ) SAL_THROW(()) { return _pHint; } - inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void * pMem ) SAL_THROW(()) { ::rtl_freeMemory( pMem ); } - inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW( () ) + inline static void SAL_CALL operator delete( void *,void* ) SAL_THROW(()) { } virtual sal_Int32 SQLyygetc(void); diff --git a/connectivity/workben/iniParser/main.cxx b/connectivity/workben/iniParser/main.cxx index 051595999753..93148b9ac72f 100644 --- a/connectivity/workben/iniParser/main.cxx +++ b/connectivity/workben/iniParser/main.cxx @@ -44,10 +44,10 @@ struct ini_NameValue rtl::OUString sName; rtl::OUString sValue; - inline ini_NameValue() SAL_THROW( () ) + inline ini_NameValue() SAL_THROW(()) {} inline ini_NameValue( - OUString const & name, OUString const & value ) SAL_THROW( () ) + OUString const & name, OUString const & value ) SAL_THROW(()) : sName( name ), sValue( value ) {} |