summaryrefslogtreecommitdiff
path: root/cppuhelper/source/implbase.cxx
diff options
context:
space:
mode:
authorAlexander Bergmann <myaddons@gmx.de>2012-01-26 16:00:09 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-01-26 17:41:07 +0000
commit0439af27e1f37b19d4409f34f974d6ade49f99bf (patch)
tree13bbb2549319d74a1a109bf2727aab37dca5b8c7 /cppuhelper/source/implbase.cxx
parentf1cb0a4ab4f11dc015be1696c7c7751802171915 (diff)
Code cleanup: ( () ) replaced by (())
Diffstat (limited to 'cppuhelper/source/implbase.cxx')
-rw-r--r--cppuhelper/source/implbase.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx
index 4738870b69e5..fbe7ed69b79c 100644
--- a/cppuhelper/source/implbase.cxx
+++ b/cppuhelper/source/implbase.cxx
@@ -48,14 +48,14 @@ namespace
namespace cppu
{
//==================================================================================================
-Mutex & SAL_CALL getImplHelperInitMutex(void) SAL_THROW( () )
+Mutex & SAL_CALL getImplHelperInitMutex(void) SAL_THROW(())
{
return theImplHelperInitMutex::get();
}
// ClassDataBase
//__________________________________________________________________________________________________
-ClassDataBase::ClassDataBase() SAL_THROW( () )
+ClassDataBase::ClassDataBase() SAL_THROW(())
: bOffsetsInit( sal_False )
, nType2Offset( 0 )
, nClassCode( 0 )
@@ -64,7 +64,7 @@ ClassDataBase::ClassDataBase() SAL_THROW( () )
{
}
//__________________________________________________________________________________________________
-ClassDataBase::ClassDataBase( sal_Int32 nClassCode_ ) SAL_THROW( () )
+ClassDataBase::ClassDataBase( sal_Int32 nClassCode_ ) SAL_THROW(())
: bOffsetsInit( sal_False )
, nType2Offset( 0 )
, nClassCode( nClassCode_ )
@@ -73,7 +73,7 @@ ClassDataBase::ClassDataBase( sal_Int32 nClassCode_ ) SAL_THROW( () )
{
}
//__________________________________________________________________________________________________
-ClassDataBase::~ClassDataBase() SAL_THROW( () )
+ClassDataBase::~ClassDataBase() SAL_THROW(())
{
delete pTypes;
delete pId;
@@ -87,7 +87,7 @@ ClassDataBase::~ClassDataBase() SAL_THROW( () )
// ClassData
//__________________________________________________________________________________________________
-void ClassData::writeTypeOffset( const Type & rType, sal_Int32 nOffset ) SAL_THROW( () )
+void ClassData::writeTypeOffset( const Type & rType, sal_Int32 nOffset ) SAL_THROW(())
{
arType2Offset[nType2Offset].nOffset = nOffset;
@@ -107,7 +107,7 @@ void ClassData::writeTypeOffset( const Type & rType, sal_Int32 nOffset ) SAL_THR
#endif
}
//__________________________________________________________________________________________________
-void ClassData::initTypeProvider() SAL_THROW( () )
+void ClassData::initTypeProvider() SAL_THROW(())
{
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
if (! pTypes)
@@ -148,14 +148,14 @@ void ClassData::initTypeProvider() SAL_THROW( () )
}
}
//__________________________________________________________________________________________________
-Sequence< Type > ClassData::getTypes() SAL_THROW( () )
+Sequence< Type > ClassData::getTypes() SAL_THROW(())
{
if (! pTypes)
initTypeProvider();
return *pTypes;
}
//__________________________________________________________________________________________________
-Sequence< sal_Int8 > ClassData::getImplementationId() SAL_THROW( () )
+Sequence< sal_Int8 > ClassData::getImplementationId() SAL_THROW(())
{
if (! pTypes)
initTypeProvider();
@@ -165,14 +165,14 @@ Sequence< sal_Int8 > ClassData::getImplementationId() SAL_THROW( () )
//--------------------------------------------------------------------------------------------------
static inline sal_Bool td_equals(
typelib_TypeDescription * pTD, typelib_TypeDescriptionReference * pType )
- SAL_THROW( () )
+ SAL_THROW(())
{
return (pTD->pWeakRef == pType ||
(pTD->pTypeName->length == pType->pTypeName->length &&
rtl_ustr_compare( pTD->pTypeName->buffer, pType->pTypeName->buffer ) == 0));
}
//__________________________________________________________________________________________________
-Any ClassData::query( const Type & rType, lang::XTypeProvider * pBase ) SAL_THROW( () )
+Any ClassData::query( const Type & rType, lang::XTypeProvider * pBase ) SAL_THROW(())
{
if (rType == ::getCppuType( (const Reference< XInterface > *)0 ))
return Any( &pBase, ::getCppuType( (const Reference< XInterface > *)0 ) );
@@ -204,13 +204,13 @@ Any ClassData::query( const Type & rType, lang::XTypeProvider * pBase ) SAL_THRO
// WeakComponentImplHelperBase
//__________________________________________________________________________________________________
WeakComponentImplHelperBase::WeakComponentImplHelperBase( Mutex & rMutex )
- SAL_THROW( () )
+ SAL_THROW(())
: rBHelper( rMutex )
{
}
//__________________________________________________________________________________________________
WeakComponentImplHelperBase::~WeakComponentImplHelperBase()
- SAL_THROW( () )
+ SAL_THROW(())
{
}
//__________________________________________________________________________________________________
@@ -330,13 +330,13 @@ void WeakComponentImplHelperBase::removeEventListener(
// WeakAggComponentImplHelperBase
//__________________________________________________________________________________________________
WeakAggComponentImplHelperBase::WeakAggComponentImplHelperBase( Mutex & rMutex )
- SAL_THROW( () )
+ SAL_THROW(())
: rBHelper( rMutex )
{
}
//__________________________________________________________________________________________________
WeakAggComponentImplHelperBase::~WeakAggComponentImplHelperBase()
- SAL_THROW( () )
+ SAL_THROW(())
{
}
//__________________________________________________________________________________________________