summaryrefslogtreecommitdiff
path: root/cppuhelper/inc
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/inc
parentf1cb0a4ab4f11dc015be1696c7c7751802171915 (diff)
Code cleanup: ( () ) replaced by (())
Diffstat (limited to 'cppuhelper/inc')
-rw-r--r--cppuhelper/inc/cppuhelper/access_control.hxx6
-rw-r--r--cppuhelper/inc/cppuhelper/bootstrap.hxx6
-rw-r--r--cppuhelper/inc/cppuhelper/compbase.hxx4
-rw-r--r--cppuhelper/inc/cppuhelper/compbase_ex.hxx24
-rw-r--r--cppuhelper/inc/cppuhelper/component.hxx6
-rw-r--r--cppuhelper/inc/cppuhelper/component_context.hxx6
-rw-r--r--cppuhelper/inc/cppuhelper/factory.hxx14
-rw-r--r--cppuhelper/inc/cppuhelper/implbase.hxx22
-rw-r--r--cppuhelper/inc/cppuhelper/implbase_ex.hxx2
-rw-r--r--cppuhelper/inc/cppuhelper/implbase_ex_post.hxx4
-rw-r--r--cppuhelper/inc/cppuhelper/interfacecontainer.h110
-rw-r--r--cppuhelper/inc/cppuhelper/interfacecontainer.hxx16
-rw-r--r--cppuhelper/inc/cppuhelper/propshlp.hxx66
-rw-r--r--cppuhelper/inc/cppuhelper/queryinterface.hxx24
-rw-r--r--cppuhelper/inc/cppuhelper/stdidlclass.hxx22
-rw-r--r--cppuhelper/inc/cppuhelper/typeprovider.hxx54
-rw-r--r--cppuhelper/inc/cppuhelper/weak.hxx18
-rw-r--r--cppuhelper/inc/cppuhelper/weakagg.hxx6
-rw-r--r--cppuhelper/inc/cppuhelper/weakref.hxx28
19 files changed, 219 insertions, 219 deletions
diff --git a/cppuhelper/inc/cppuhelper/access_control.hxx b/cppuhelper/inc/cppuhelper/access_control.hxx
index 4910adb57261..518f45d594a7 100644
--- a/cppuhelper/inc/cppuhelper/access_control.hxx
+++ b/cppuhelper/inc/cppuhelper/access_control.hxx
@@ -68,7 +68,7 @@ public:
/** Clears the access controller reference being used.
*/
- inline void SAL_CALL clear() SAL_THROW( () )
+ inline void SAL_CALL clear() SAL_THROW(())
{ m_xController.clear(); }
/** Returns access to the access controller reference being used.
@@ -76,14 +76,14 @@ public:
@return access controller
*/
inline ::com::sun::star::uno::Reference<
- ::com::sun::star::security::XAccessController > const & SAL_CALL get() const SAL_THROW( () )
+ ::com::sun::star::security::XAccessController > const & SAL_CALL get() const SAL_THROW(())
{ return m_xController; }
/** Returns access to the access controller reference being used.
@return access controller
*/
- inline ::com::sun::star::security::XAccessController * SAL_CALL operator -> () const SAL_THROW( () )
+ inline ::com::sun::star::security::XAccessController * SAL_CALL operator -> () const SAL_THROW(())
{ return m_xController.get(); }
diff --git a/cppuhelper/inc/cppuhelper/bootstrap.hxx b/cppuhelper/inc/cppuhelper/bootstrap.hxx
index 41c69ad3cc0e..319854a14960 100644
--- a/cppuhelper/inc/cppuhelper/bootstrap.hxx
+++ b/cppuhelper/inc/cppuhelper/bootstrap.hxx
@@ -52,7 +52,7 @@ namespace cppu
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry >
SAL_CALL createSimpleRegistry(
const ::rtl::OUString & rBootstrapPath = ::rtl::OUString() )
- SAL_THROW( () );
+ SAL_THROW(());
/** Creates a nested registry service instance.
@@ -62,7 +62,7 @@ SAL_CALL createSimpleRegistry(
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry >
SAL_CALL createNestedRegistry(
const ::rtl::OUString & rBootstrapPath = ::rtl::OUString() )
- SAL_THROW( () );
+ SAL_THROW(());
/** Installs type description manager instance, i.e. registers a callback at cppu core.
@@ -71,7 +71,7 @@ SAL_CALL createNestedRegistry(
*/
CPPUHELPER_DLLPUBLIC sal_Bool SAL_CALL installTypeDescriptionManager(
::com::sun::star::uno::Reference< ::com::sun::star::container::XHierarchicalNameAccess > const & xTDMgr )
- SAL_THROW( () );
+ SAL_THROW(());
/** Bootstraps an initial component context with service manager upon a given registry.
This includes insertion of initial services:
diff --git a/cppuhelper/inc/cppuhelper/compbase.hxx b/cppuhelper/inc/cppuhelper/compbase.hxx
index eb57e18fd4b7..60e99eef3840 100644
--- a/cppuhelper/inc/cppuhelper/compbase.hxx
+++ b/cppuhelper/inc/cppuhelper/compbase.hxx
@@ -47,7 +47,7 @@ class SAL_NO_VTABLE WeakComponentImplHelper##N \
{ \
static ClassData##N s_aCD; \
public: \
- WeakComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW( () ) \
+ WeakComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW(()) \
: WeakComponentImplHelperBase( rMutex ) \
{} \
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) \
@@ -73,7 +73,7 @@ class SAL_NO_VTABLE WeakAggComponentImplHelper##N \
{ \
static ClassData##N s_aCD; \
public: \
- WeakAggComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW( () ) \
+ WeakAggComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW(()) \
: WeakAggComponentImplHelperBase( rMutex ) \
{} \
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) \
diff --git a/cppuhelper/inc/cppuhelper/compbase_ex.hxx b/cppuhelper/inc/cppuhelper/compbase_ex.hxx
index ca7e0ccfdefa..0eff32185105 100644
--- a/cppuhelper/inc/cppuhelper/compbase_ex.hxx
+++ b/cppuhelper/inc/cppuhelper/compbase_ex.hxx
@@ -59,20 +59,20 @@ protected:
@param rMutex mutex to sync upon disposing
*/
- WeakComponentImplHelperBase( ::osl::Mutex & rMutex ) SAL_THROW( () );
+ WeakComponentImplHelperBase( ::osl::Mutex & rMutex ) SAL_THROW(());
public:
/** Destructor
*/
- virtual ~WeakComponentImplHelperBase() SAL_THROW( () );
+ virtual ~WeakComponentImplHelperBase() SAL_THROW(());
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
@@ -106,18 +106,18 @@ protected:
*/
virtual void SAL_CALL disposing();
- WeakAggComponentImplHelperBase( ::osl::Mutex & rMutex ) SAL_THROW( () );
+ WeakAggComponentImplHelperBase( ::osl::Mutex & rMutex ) SAL_THROW(());
public:
- virtual ~WeakAggComponentImplHelperBase() SAL_THROW( () );
+ virtual ~WeakAggComponentImplHelperBase() SAL_THROW(());
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
diff --git a/cppuhelper/inc/cppuhelper/component.hxx b/cppuhelper/inc/cppuhelper/component.hxx
index ccbddc0e0aae..64c6a63693c5 100644
--- a/cppuhelper/inc/cppuhelper/component.hxx
+++ b/cppuhelper/inc/cppuhelper/component.hxx
@@ -63,7 +63,7 @@ public:
the mutex used to protect multi-threaded access;
lifetime must be longer than the lifetime of this object.
*/
- OComponentHelper( ::osl::Mutex & rMutex ) SAL_THROW( () );
+ OComponentHelper( ::osl::Mutex & rMutex ) SAL_THROW(());
/** Destructor. If this object was not disposed previously, object will be disposed manually.
*/
virtual ~OComponentHelper() SAL_THROW( (::com::sun::star::uno::RuntimeException) );
@@ -111,8 +111,8 @@ protected:
/// @endcond
private:
- inline OComponentHelper( const OComponentHelper & ) SAL_THROW( () );
- inline OComponentHelper & operator = ( const OComponentHelper & ) SAL_THROW( () );
+ inline OComponentHelper( const OComponentHelper & ) SAL_THROW(());
+ inline OComponentHelper & operator = ( const OComponentHelper & ) SAL_THROW(());
};
}
diff --git a/cppuhelper/inc/cppuhelper/component_context.hxx b/cppuhelper/inc/cppuhelper/component_context.hxx
index bcb02c705555..06e1f264394d 100644
--- a/cppuhelper/inc/cppuhelper/component_context.hxx
+++ b/cppuhelper/inc/cppuhelper/component_context.hxx
@@ -56,7 +56,7 @@ struct ContextEntry_Init
/** Default ctor.
*/
- inline ContextEntry_Init() SAL_THROW( () )
+ inline ContextEntry_Init() SAL_THROW(())
: bLateInitService( false )
{}
/** Ctor.
@@ -72,7 +72,7 @@ struct ContextEntry_Init
inline ContextEntry_Init(
::rtl::OUString const & name_,
::com::sun::star::uno::Any const & value_,
- bool bLateInitService_ = false ) SAL_THROW( () )
+ bool bLateInitService_ = false ) SAL_THROW(())
: bLateInitService( bLateInitService_ ),
name( name_ ),
value( value_ )
@@ -91,7 +91,7 @@ SAL_CALL createComponentContext(
ContextEntry_Init const * pEntries, sal_Int32 nEntries,
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xDelegate =
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >() )
- SAL_THROW( () );
+ SAL_THROW(());
}
diff --git a/cppuhelper/inc/cppuhelper/factory.hxx b/cppuhelper/inc/cppuhelper/factory.hxx
index 2653908c9ba2..c100eab61d55 100644
--- a/cppuhelper/inc/cppuhelper/factory.hxx
+++ b/cppuhelper/inc/cppuhelper/factory.hxx
@@ -150,7 +150,7 @@ SAL_CALL createSingleComponentFactory(
::rtl::OUString const & rImplementationName,
::com::sun::star::uno::Sequence< ::rtl::OUString > const & rServiceNames,
rtl_ModuleCount * pModCount = 0 )
- SAL_THROW( () );
+ SAL_THROW(());
/** Creates a single service factory which holds the instance created only once.
@@ -167,7 +167,7 @@ createOneInstanceComponentFactory(
::rtl::OUString const & rImplementationName,
::com::sun::star::uno::Sequence< ::rtl::OUString > const & rServiceNames,
rtl_ModuleCount * pModCount = 0 )
- SAL_THROW( () );
+ SAL_THROW(());
/** Deprecated. The type of the instanciate function used as argument of the create*Fcatory functions.
@@ -198,7 +198,7 @@ createSingleFactory(
ComponentInstantiation pCreateFunction,
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames,
rtl_ModuleCount * pModCount = 0 )
- SAL_THROW( () );
+ SAL_THROW(());
/** Deprecated. Creates a factory wrapping another one.
This means the methods of the interfaces XServiceProvider, XServiceInfo and
@@ -218,7 +218,7 @@ CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::X
createFactoryProxy(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > & rFactory )
- SAL_THROW( () );
+ SAL_THROW(());
/** Deprecated. Creates a single service factory which holds the instance created only once.
@@ -240,7 +240,7 @@ createOneInstanceFactory(
ComponentInstantiation pCreateFunction,
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rServiceNames,
rtl_ModuleCount * pModCount = 0 )
- SAL_THROW( () );
+ SAL_THROW(());
/** Deprecated. Creates a single service factory based on a registry.
@@ -256,7 +256,7 @@ createSingleRegistryFactory(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
const ::rtl::OUString & rImplementationName,
const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey )
- SAL_THROW( () );
+ SAL_THROW(());
/** Deprecated. Creates a single service factory which holds the instance created only once
based on a registry.
@@ -275,7 +275,7 @@ createOneInstanceRegistryFactory(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
const ::rtl::OUString & rComponentName,
const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey )
- SAL_THROW( () );
+ SAL_THROW(());
}
diff --git a/cppuhelper/inc/cppuhelper/implbase.hxx b/cppuhelper/inc/cppuhelper/implbase.hxx
index f7fe3a228853..06506d3092a4 100644
--- a/cppuhelper/inc/cppuhelper/implbase.hxx
+++ b/cppuhelper/inc/cppuhelper/implbase.hxx
@@ -89,15 +89,15 @@ struct CPPUHELPER_DLLPUBLIC ClassDataBase
/** def ctor
*/
- ClassDataBase() SAL_THROW( () );
+ ClassDataBase() SAL_THROW(());
/** class code ctor
@param nClassCode class code, see ClassDataBase::nClassCode
*/
- ClassDataBase( sal_Int32 nClassCode ) SAL_THROW( () );
+ ClassDataBase( sal_Int32 nClassCode ) SAL_THROW(());
/** dtor
*/
- ~ClassDataBase() SAL_THROW( () );
+ ~ClassDataBase() SAL_THROW(());
};
/** Struct used for inline template implementation helpers:
There will be versions of this struct with varying arType2Offset[] array sizes, each of which
@@ -113,14 +113,14 @@ struct CPPUHELPER_DLLPUBLIC ClassData : public ClassDataBase
/** init call for supporting com.sun.star.lang.XTypeProvider
*/
- void SAL_CALL initTypeProvider() SAL_THROW( () );
+ void SAL_CALL initTypeProvider() SAL_THROW(());
/** initial writing type offsets for vtables
@param rType type of interface
@param nOffset offset to vtable entry
*/
void SAL_CALL writeTypeOffset( const ::com::sun::star::uno::Type & rType, sal_Int32 nOffset )
- SAL_THROW( () );
+ SAL_THROW(());
/** Queries for an interface.
@@ -130,25 +130,25 @@ struct CPPUHELPER_DLLPUBLIC ClassData : public ClassDataBase
*/
::com::sun::star::uno::Any SAL_CALL query(
const ::com::sun::star::uno::Type & rType, ::com::sun::star::lang::XTypeProvider * pBase )
- SAL_THROW( () );
+ SAL_THROW(());
/** Gets the types for supporting com.sun.star.lang.XTypeProvider
@return sequence of types supported
*/
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
- SAL_THROW( () );
+ SAL_THROW(());
/** Gets the class id of implementation supporting com.sun.star.lang.XTypeProvider
@return class identifier (sequence< byte >)
*/
::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
- SAL_THROW( () );
+ SAL_THROW(());
};
/** Shared mutex for implementation helper initialization.
Not for public use.
*/
-CPPUHELPER_DLLPUBLIC ::osl::Mutex & SAL_CALL getImplHelperInitMutex(void) SAL_THROW( () );
+CPPUHELPER_DLLPUBLIC ::osl::Mutex & SAL_CALL getImplHelperInitMutex(void) SAL_THROW(());
}
//
@@ -176,7 +176,7 @@ namespace cppu \
struct ClassData##N : public ClassDataBase \
{ \
Type_Offset arType2Offset[ N ]; \
- ClassData##N( sal_Int32 nInClassCode ) SAL_THROW( () ) \
+ ClassData##N( sal_Int32 nInClassCode ) SAL_THROW(()) \
: ClassDataBase( nInClassCode ) \
{} \
}; \
@@ -186,7 +186,7 @@ class SAL_NO_VTABLE ImplHelperBase##N \
, __PUBLIC_IFC##N \
{ \
protected: \
- ClassData & SAL_CALL getClassData( ClassDataBase & s_aCD ) SAL_THROW( () ) \
+ ClassData & SAL_CALL getClassData( ClassDataBase & s_aCD ) SAL_THROW(()) \
{ \
ClassData & rCD = * static_cast< ClassData * >( &s_aCD ); \
if (! rCD.bOffsetsInit) \
diff --git a/cppuhelper/inc/cppuhelper/implbase_ex.hxx b/cppuhelper/inc/cppuhelper/implbase_ex.hxx
index 55bfd28c67e5..ba70e8d103e4 100644
--- a/cppuhelper/inc/cppuhelper/implbase_ex.hxx
+++ b/cppuhelper/inc/cppuhelper/implbase_ex.hxx
@@ -55,7 +55,7 @@ namespace cppu
/** function pointer signature for getCppuType
*/
-typedef ::com::sun::star::uno::Type const & (SAL_CALL * fptr_getCppuType)( void * ) SAL_THROW( () );
+typedef ::com::sun::star::uno::Type const & (SAL_CALL * fptr_getCppuType)( void * ) SAL_THROW(());
/** single type + object offset
*/
diff --git a/cppuhelper/inc/cppuhelper/implbase_ex_post.hxx b/cppuhelper/inc/cppuhelper/implbase_ex_post.hxx
index eaa9280918b5..04353f451532 100644
--- a/cppuhelper/inc/cppuhelper/implbase_ex_post.hxx
+++ b/cppuhelper/inc/cppuhelper/implbase_ex_post.hxx
@@ -181,7 +181,7 @@ class SAL_NO_VTABLE WeakComponentImplHelper##N \
{ \
static class_data##N s_cd; \
public: \
- inline WeakComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW( () ) \
+ inline WeakComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW(()) \
: WeakComponentImplHelperBase( rMutex ) \
{} \
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) \
@@ -206,7 +206,7 @@ class SAL_NO_VTABLE WeakAggComponentImplHelper##N \
{ \
static class_data##N s_cd; \
public: \
- inline WeakAggComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW( () ) \
+ inline WeakAggComponentImplHelper##N( ::osl::Mutex & rMutex ) SAL_THROW(()) \
: WeakAggComponentImplHelperBase( rMutex ) \
{} \
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) \
diff --git a/cppuhelper/inc/cppuhelper/interfacecontainer.h b/cppuhelper/inc/cppuhelper/interfacecontainer.h
index 454013c9c282..8282893ec851 100644
--- a/cppuhelper/inc/cppuhelper/interfacecontainer.h
+++ b/cppuhelper/inc/cppuhelper/interfacecontainer.h
@@ -82,28 +82,28 @@ public:
@param rCont the container of the elements.
*/
- OInterfaceIteratorHelper( OInterfaceContainerHelper & rCont ) SAL_THROW( () );
+ OInterfaceIteratorHelper( OInterfaceContainerHelper & rCont ) SAL_THROW(());
/**
Releases the connection to the container.
*/
- ~OInterfaceIteratorHelper() SAL_THROW( () );
+ ~OInterfaceIteratorHelper() SAL_THROW(());
/** Return sal_True, if there are more elements in the iterator. */
- sal_Bool SAL_CALL hasMoreElements() const SAL_THROW( () )
+ sal_Bool SAL_CALL hasMoreElements() const SAL_THROW(())
{ return nRemain != 0; }
/** Return the next element of the iterator. Calling this method if
hasMoreElements() has returned sal_False, is an error. Cast the
returned pointer to the
*/
- ::com::sun::star::uno::XInterface * SAL_CALL next() SAL_THROW( () );
+ ::com::sun::star::uno::XInterface * SAL_CALL next() SAL_THROW(());
/** Removes the current element (the last one returned by next())
from the underlying container. Calling this method before
next() has been called or calling it twice with no next()
inbetween is an error.
*/
- void SAL_CALL remove() SAL_THROW( () );
+ void SAL_CALL remove() SAL_THROW(());
private:
OInterfaceContainerHelper & rCont;
@@ -113,8 +113,8 @@ private:
sal_Int32 nRemain;
- OInterfaceIteratorHelper( const OInterfaceIteratorHelper & ) SAL_THROW( () );
- OInterfaceIteratorHelper & operator = ( const OInterfaceIteratorHelper & ) SAL_THROW( () );
+ OInterfaceIteratorHelper( const OInterfaceIteratorHelper & ) SAL_THROW(());
+ OInterfaceIteratorHelper & operator = ( const OInterfaceIteratorHelper & ) SAL_THROW(());
};
//===================================================================
@@ -128,13 +128,13 @@ class CPPUHELPER_DLLPUBLIC OInterfaceContainerHelper
{
public:
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
/**
@@ -144,22 +144,22 @@ public:
The lifetime must be longer than the lifetime
of this object.
*/
- OInterfaceContainerHelper( ::osl::Mutex & rMutex ) SAL_THROW( () );
+ OInterfaceContainerHelper( ::osl::Mutex & rMutex ) SAL_THROW(());
/**
Release all interfaces. All iterators must be destroyed before
the container is destructed.
*/
- ~OInterfaceContainerHelper() SAL_THROW( () );
+ ~OInterfaceContainerHelper() SAL_THROW(());
/**
Return the number of Elements in the container. Only useful if you have acquired
the mutex.
*/
- sal_Int32 SAL_CALL getLength() const SAL_THROW( () );
+ sal_Int32 SAL_CALL getLength() const SAL_THROW(());
/**
Return all interfaces added to this container.
**/
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > > SAL_CALL getElements() const SAL_THROW( () );
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > > SAL_CALL getElements() const SAL_THROW(());
/** Inserts an element into the container. The position is not specified, thus it is not
specified in which order events are fired.
@@ -177,7 +177,7 @@ public:
@return
the new count of elements in the container
*/
- sal_Int32 SAL_CALL addInterface( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) SAL_THROW( () );
+ sal_Int32 SAL_CALL addInterface( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) SAL_THROW(());
/** Removes an element from the container. It uses interface equality to remove the interface.
@param rxIFace
@@ -185,16 +185,16 @@ public:
@return
the new count of elements in the container
*/
- sal_Int32 SAL_CALL removeInterface( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) SAL_THROW( () );
+ sal_Int32 SAL_CALL removeInterface( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) SAL_THROW(());
/**
Call disposing on all object in the container that
support XEventListener. Than clear the container.
*/
- void SAL_CALL disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) SAL_THROW( () );
+ void SAL_CALL disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) SAL_THROW(());
/**
Clears the container without calling disposing().
*/
- void SAL_CALL clear() SAL_THROW( () );
+ void SAL_CALL clear() SAL_THROW(());
/** Executes a functor for each contained listener of specified type, e.g.
<code>forEach<awt::XPaintListener>(...</code>.
@@ -247,14 +247,14 @@ friend class OInterfaceIteratorHelper;
/** TRUE -> aData.pAsSequence is of type Sequence< XInterfaceSequence >. */
sal_Bool bIsList;
- OInterfaceContainerHelper( const OInterfaceContainerHelper & ) SAL_THROW( () );
- OInterfaceContainerHelper & operator = ( const OInterfaceContainerHelper & ) SAL_THROW( () );
+ OInterfaceContainerHelper( const OInterfaceContainerHelper & ) SAL_THROW(());
+ OInterfaceContainerHelper & operator = ( const OInterfaceContainerHelper & ) SAL_THROW(());
/*
Dulicate content of the conaitner and release the old one without destroying.
The mutex must be locked and the memberbInUse must be true.
*/
- void copyAndResetInUse() SAL_THROW( () );
+ void copyAndResetInUse() SAL_THROW(());
private:
template< typename ListenerT, typename EventT >
@@ -315,13 +315,13 @@ class OMultiTypeInterfaceContainerHelperVar
{
public:
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
/**
@@ -331,16 +331,16 @@ public:
The lifetime must be longer than the lifetime
of this object.
*/
- inline OMultiTypeInterfaceContainerHelperVar( ::osl::Mutex & ) SAL_THROW( () );
+ inline OMultiTypeInterfaceContainerHelperVar( ::osl::Mutex & ) SAL_THROW(());
/**
Deletes all containers.
*/
- inline ~OMultiTypeInterfaceContainerHelperVar() SAL_THROW( () );
+ inline ~OMultiTypeInterfaceContainerHelperVar() SAL_THROW(());
/**
Return all id's under which at least one interface is added.
*/
- inline ::com::sun::star::uno::Sequence< key > SAL_CALL getContainedTypes() const SAL_THROW( () );
+ inline ::com::sun::star::uno::Sequence< key > SAL_CALL getContainedTypes() const SAL_THROW(());
/**
Return the container created under this key.
@@ -348,7 +348,7 @@ public:
@return the container created under this key. If the container
was not created, null was returned.
*/
- inline OInterfaceContainerHelper * SAL_CALL getContainer( const key & ) const SAL_THROW( () );
+ inline OInterfaceContainerHelper * SAL_CALL getContainer( const key & ) const SAL_THROW(());
/** Inserts an element into the container with the specified key.
The position is not specified, thus it is not specified in which order events are fired.
@@ -371,7 +371,7 @@ public:
inline sal_Int32 SAL_CALL addInterface(
const key & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & r )
- SAL_THROW( () );
+ SAL_THROW(());
/** Removes an element from the container with the specified key.
It uses interface equality to remove the interface.
@@ -386,18 +386,18 @@ public:
inline sal_Int32 SAL_CALL removeInterface(
const key & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace )
- SAL_THROW( () );
+ SAL_THROW(());
/**
Call disposing on all references in the container, that
support XEventListener. Then clears the container.
@param rEvt the event object which is passed during disposing() call
*/
- inline void SAL_CALL disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) SAL_THROW( () );
+ inline void SAL_CALL disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) SAL_THROW(());
/**
Remove all elements of all containers. Does not delete the container.
*/
- inline void SAL_CALL clear() SAL_THROW( () );
+ inline void SAL_CALL clear() SAL_THROW(());
typedef key keyType;
private:
@@ -420,8 +420,8 @@ private:
return iter;
}
- inline OMultiTypeInterfaceContainerHelperVar( const OMultiTypeInterfaceContainerHelperVar & ) SAL_THROW( () );
- inline OMultiTypeInterfaceContainerHelperVar & operator = ( const OMultiTypeInterfaceContainerHelperVar & ) SAL_THROW( () );
+ inline OMultiTypeInterfaceContainerHelperVar( const OMultiTypeInterfaceContainerHelperVar & ) SAL_THROW(());
+ inline OMultiTypeInterfaceContainerHelperVar & operator = ( const OMultiTypeInterfaceContainerHelperVar & ) SAL_THROW(());
};
@@ -452,7 +452,7 @@ struct OBroadcastHelperVar
Initialize the structur. bDispose and bInDispose are set to false.
@param rMutex the mutex reference.
*/
- OBroadcastHelperVar( ::osl::Mutex & rMutex_ ) SAL_THROW( () )
+ OBroadcastHelperVar( ::osl::Mutex & rMutex_ ) SAL_THROW(())
: rMutex( rMutex_ )
, aLC( rMutex_ )
, bDisposed( sal_False )
@@ -465,7 +465,7 @@ struct OBroadcastHelperVar
inline void addListener(
const keyType &key,
const ::com::sun::star::uno::Reference < ::com::sun::star::uno::XInterface > &r )
- SAL_THROW( () )
+ SAL_THROW(())
{
::osl::MutexGuard guard( rMutex );
OSL_ENSURE( !bInDispose, "do not add listeners in the dispose call" );
@@ -480,7 +480,7 @@ struct OBroadcastHelperVar
inline void removeListener(
const keyType &key,
const ::com::sun::star::uno::Reference < ::com::sun::star::uno::XInterface > & r )
- SAL_THROW( () )
+ SAL_THROW(())
{
::osl::MutexGuard guard( rMutex );
OSL_ENSURE( !bDisposed, "object is disposed" );
@@ -494,7 +494,7 @@ struct OBroadcastHelperVar
was not created, null was returned. This can be used to optimize
performance ( construction of an event object can be avoided ).
***/
- inline OInterfaceContainerHelper * SAL_CALL getContainer( const keyType &key ) const SAL_THROW( () )
+ inline OInterfaceContainerHelper * SAL_CALL getContainer( const keyType &key ) const SAL_THROW(())
{ return aLC.getContainer( key ); }
};
@@ -508,7 +508,7 @@ struct OBroadcastHelperVar
// helper function call class
struct hashType_Impl
{
- size_t operator()(const ::com::sun::star::uno::Type & s) const SAL_THROW( () )
+ size_t operator()(const ::com::sun::star::uno::Type & s) const SAL_THROW(())
{ return s.getTypeName().hashCode(); }
};
@@ -520,13 +520,13 @@ class CPPUHELPER_DLLPUBLIC OMultiTypeInterfaceContainerHelper
{
public:
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
/**
@@ -536,23 +536,23 @@ public:
The lifetime must be longer than the lifetime
of this object.
*/
- OMultiTypeInterfaceContainerHelper( ::osl::Mutex & ) SAL_THROW( () );
+ OMultiTypeInterfaceContainerHelper( ::osl::Mutex & ) SAL_THROW(());
/**
Delete all containers.
*/
- ~OMultiTypeInterfaceContainerHelper() SAL_THROW( () );
+ ~OMultiTypeInterfaceContainerHelper() SAL_THROW(());
/**
Return all id's under which at least one interface is added.
*/
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getContainedTypes() const SAL_THROW( () );
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getContainedTypes() const SAL_THROW(());
/**
Return the container created under this key.
@return the container created under this key. If the container
was not created, null was returned.
*/
- OInterfaceContainerHelper * SAL_CALL getContainer( const ::com::sun::star::uno::Type & rKey ) const SAL_THROW( () );
+ OInterfaceContainerHelper * SAL_CALL getContainer( const ::com::sun::star::uno::Type & rKey ) const SAL_THROW(());
/** Inserts an element into the container with the specified key.
The position is not specified, thus it is not specified in which order events are fired.
@@ -575,7 +575,7 @@ public:
sal_Int32 SAL_CALL addInterface(
const ::com::sun::star::uno::Type & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & r )
- SAL_THROW( () );
+ SAL_THROW(());
/** Removes an element from the container with the specified key.
It uses interface equality to remove the interface.
@@ -590,25 +590,25 @@ public:
sal_Int32 SAL_CALL removeInterface(
const ::com::sun::star::uno::Type & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace )
- SAL_THROW( () );
+ SAL_THROW(());
/**
Call disposing on all object in the container that
support XEventListener. Than clear the container.
*/
- void SAL_CALL disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) SAL_THROW( () );
+ void SAL_CALL disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) SAL_THROW(());
/**
Remove all elements of all containers. Does not delete the container.
*/
- void SAL_CALL clear() SAL_THROW( () );
+ void SAL_CALL clear() SAL_THROW(());
typedef ::com::sun::star::uno::Type keyType;
private:
void *m_pMap;
::osl::Mutex & rMutex;
- inline OMultiTypeInterfaceContainerHelper( const OMultiTypeInterfaceContainerHelper & ) SAL_THROW( () );
- inline OMultiTypeInterfaceContainerHelper & operator = ( const OMultiTypeInterfaceContainerHelper & ) SAL_THROW( () );
+ inline OMultiTypeInterfaceContainerHelper( const OMultiTypeInterfaceContainerHelper & ) SAL_THROW(());
+ inline OMultiTypeInterfaceContainerHelper & operator = ( const OMultiTypeInterfaceContainerHelper & ) SAL_THROW(());
};
typedef OBroadcastHelperVar< OMultiTypeInterfaceContainerHelper , OMultiTypeInterfaceContainerHelper::keyType > OBroadcastHelper;
diff --git a/cppuhelper/inc/cppuhelper/interfacecontainer.hxx b/cppuhelper/inc/cppuhelper/interfacecontainer.hxx
index d9c347ecc0cf..74c264b9fddc 100644
--- a/cppuhelper/inc/cppuhelper/interfacecontainer.hxx
+++ b/cppuhelper/inc/cppuhelper/interfacecontainer.hxx
@@ -36,7 +36,7 @@ namespace cppu
template< class key , class hashImpl , class equalImpl >
inline OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::OMultiTypeInterfaceContainerHelperVar( ::osl::Mutex & rMutex_ )
- SAL_THROW( () )
+ SAL_THROW(())
: rMutex( rMutex_ )
{
m_pMap = new InterfaceMap;
@@ -45,7 +45,7 @@ inline OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::OMul
//===================================================================
template< class key , class hashImpl , class equalImpl >
inline OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::~OMultiTypeInterfaceContainerHelperVar()
- SAL_THROW( () )
+ SAL_THROW(())
{
typename InterfaceMap::iterator iter = m_pMap->begin();
typename InterfaceMap::iterator end = m_pMap->end();
@@ -62,7 +62,7 @@ inline OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::~OMu
//===================================================================
template< class key , class hashImpl , class equalImpl >
inline ::com::sun::star::uno::Sequence< key > OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::getContainedTypes() const
- SAL_THROW( () )
+ SAL_THROW(())
{
::osl::MutexGuard aGuard( rMutex );
typename InterfaceMap::size_type nSize = m_pMap->size();
@@ -95,7 +95,7 @@ inline ::com::sun::star::uno::Sequence< key > OMultiTypeInterfaceContainerHelper
//===================================================================
template< class key , class hashImpl , class equalImpl >
OInterfaceContainerHelper * OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::getContainer(
- const key & rKey ) const SAL_THROW( () )
+ const key & rKey ) const SAL_THROW(())
{
::osl::MutexGuard aGuard( rMutex );
@@ -110,7 +110,7 @@ template< class key , class hashImpl , class equalImpl >
sal_Int32 OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::addInterface(
const key & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rListener )
- SAL_THROW( () )
+ SAL_THROW(())
{
::osl::MutexGuard aGuard( rMutex );
typename InterfaceMap::iterator iter = find( rKey );
@@ -129,7 +129,7 @@ template< class key , class hashImpl , class equalImpl >
inline sal_Int32 OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::removeInterface(
const key & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rListener )
- SAL_THROW( () )
+ SAL_THROW(())
{
::osl::MutexGuard aGuard( rMutex );
@@ -147,7 +147,7 @@ inline sal_Int32 OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalIm
template< class key , class hashImpl , class equalImpl >
void OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::disposeAndClear(
const ::com::sun::star::lang::EventObject & rEvt )
- SAL_THROW( () )
+ SAL_THROW(())
{
typename InterfaceMap::size_type nSize = 0;
OInterfaceContainerHelper ** ppListenerContainers = NULL;
@@ -183,7 +183,7 @@ void OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::dispos
//===================================================================
template< class key , class hashImpl , class equalImpl >
-void OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::clear() SAL_THROW( () )
+void OMultiTypeInterfaceContainerHelperVar< key , hashImpl , equalImpl >::clear() SAL_THROW(())
{
::osl::MutexGuard aGuard( rMutex );
typename InterfaceMap::iterator iter = m_pMap->begin();
diff --git a/cppuhelper/inc/cppuhelper/propshlp.hxx b/cppuhelper/inc/cppuhelper/propshlp.hxx
index 00ff4d0b2f50..4b0112679f10 100644
--- a/cppuhelper/inc/cppuhelper/propshlp.hxx
+++ b/cppuhelper/inc/cppuhelper/propshlp.hxx
@@ -57,13 +57,13 @@ class CPPUHELPER_DLLPUBLIC IPropertyArrayHelper
{
public:
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
/**
@@ -135,7 +135,7 @@ public:
::com::sun::star::beans::Property *pProps,
sal_Int32 nElements ,
sal_Bool bSorted = sal_True )
- SAL_THROW( () );
+ SAL_THROW(());
/**
Create an object which supports the common property interfaces.
@@ -146,12 +146,12 @@ public:
OPropertyArrayHelper(
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > & aProps,
sal_Bool bSorted = sal_True )
- SAL_THROW( () );
+ SAL_THROW(());
/**
Return the number of properties.
*/
- sal_Int32 SAL_CALL getCount() const SAL_THROW( () );
+ sal_Int32 SAL_CALL getCount() const SAL_THROW(());
/**
Return the property members Name and Attribute from the handle nHandle.
@param nHandle the handle of a property. If the values of the handles
@@ -203,7 +203,7 @@ protected:
void * m_pReserved;
private:
- void init( sal_Bool bSorted ) SAL_THROW( () );
+ void init( sal_Bool bSorted ) SAL_THROW(());
/** The sequence generated from the pProperties array. */
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > aInfos;
@@ -221,13 +221,13 @@ private:
struct equalInt32_Impl
{
- bool operator()(const sal_Int32 & i1 , const sal_Int32 & i2) const SAL_THROW( () )
+ bool operator()(const sal_Int32 & i1 , const sal_Int32 & i2) const SAL_THROW(())
{ return i1 == i2; }
};
struct hashInt32_Impl
{
- size_t operator()(const sal_Int32 & i) const SAL_THROW( () )
+ size_t operator()(const sal_Int32 & i) const SAL_THROW(())
{ return i; }
};
/** Specialized class for key type sal_Int32,
@@ -237,13 +237,13 @@ class CPPUHELPER_DLLPUBLIC OMultiTypeInterfaceContainerHelperInt32
{
public:
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
/**
@@ -253,23 +253,23 @@ public:
The lifetime must be longer than the lifetime
of this object.
*/
- OMultiTypeInterfaceContainerHelperInt32( ::osl::Mutex & ) SAL_THROW( () );
+ OMultiTypeInterfaceContainerHelperInt32( ::osl::Mutex & ) SAL_THROW(());
/**
Delete all containers.
*/
- ~OMultiTypeInterfaceContainerHelperInt32() SAL_THROW( () );
+ ~OMultiTypeInterfaceContainerHelperInt32() SAL_THROW(());
/**
Return all id's under which at least one interface is added.
*/
- ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL getContainedTypes() const SAL_THROW( () );
+ ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL getContainedTypes() const SAL_THROW(());
/**
Return the container created under this key.
@return the container created under this key. If the container
was not created, null was returned.
*/
- OInterfaceContainerHelper * SAL_CALL getContainer( const sal_Int32 & rKey ) const SAL_THROW( () );
+ OInterfaceContainerHelper * SAL_CALL getContainer( const sal_Int32 & rKey ) const SAL_THROW(());
/**
Insert an element in the container specified with the key. The position is not specified.
@@ -281,7 +281,7 @@ public:
sal_Int32 SAL_CALL addInterface(
const sal_Int32 & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & r )
- SAL_THROW( () );
+ SAL_THROW(());
/**
Remove an element from the container specified with the key.
@@ -293,25 +293,25 @@ public:
sal_Int32 SAL_CALL removeInterface(
const sal_Int32 & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace )
- SAL_THROW( () );
+ SAL_THROW(());
/**
Call disposing on all objects in the container that
support XEventListener. Then clear the container.
*/
- void SAL_CALL disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) SAL_THROW( () );
+ void SAL_CALL disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) SAL_THROW(());
/**
Remove all elements of all containers. Does not delete the container.
*/
- void SAL_CALL clear() SAL_THROW( () );
+ void SAL_CALL clear() SAL_THROW(());
typedef sal_Int32 keyType;
private:
void *m_pMap;
::osl::Mutex & rMutex;
- inline OMultiTypeInterfaceContainerHelperInt32( const OMultiTypeInterfaceContainerHelperInt32 & ) SAL_THROW( () );
- inline OMultiTypeInterfaceContainerHelperInt32 & operator = ( const OMultiTypeInterfaceContainerHelperInt32 & ) SAL_THROW( () );
+ inline OMultiTypeInterfaceContainerHelperInt32( const OMultiTypeInterfaceContainerHelperInt32 & ) SAL_THROW(());
+ inline OMultiTypeInterfaceContainerHelperInt32 & operator = ( const OMultiTypeInterfaceContainerHelperInt32 & ) SAL_THROW(());
};
@@ -362,7 +362,7 @@ public:
The lifetime must be longer than the lifetime
of this object. Stored in the variable rBHelper.
*/
- OPropertySetHelper( OBroadcastHelper & rBHelper ) SAL_THROW( () );
+ OPropertySetHelper( OBroadcastHelper & rBHelper ) SAL_THROW(());
/** Constructor.
@@ -429,7 +429,7 @@ public:
@see OComponentHelper
*/
- void SAL_CALL disposing() SAL_THROW( () );
+ void SAL_CALL disposing() SAL_THROW(());
/**
Throw UnknownPropertyException or PropertyVetoException if the property with the name
@@ -513,7 +513,7 @@ public:
The property sequence is created in the call. The interface isn't used after the call.
*/
static ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySetInfo > SAL_CALL
- createPropertySetInfo( IPropertyArrayHelper & rProperties ) SAL_THROW( () );
+ createPropertySetInfo( IPropertyArrayHelper & rProperties ) SAL_THROW(());
protected:
/**
This method fire events to all registered property listeners.
@@ -643,8 +643,8 @@ protected:
const std::auto_ptr<Impl> m_pReserved;
private:
- OPropertySetHelper( const OPropertySetHelper & ) SAL_THROW( () );
- OPropertySetHelper & operator = ( const OPropertySetHelper & ) SAL_THROW( () );
+ OPropertySetHelper( const OPropertySetHelper & ) SAL_THROW(());
+ OPropertySetHelper & operator = ( const OPropertySetHelper & ) SAL_THROW(());
/** notifies the given changes in property's values, <em>plus</em> all property changes collected during recent
|setDependentFastPropertyValue| calls.
@@ -667,7 +667,7 @@ public:
/**
You must call disposing before destruction.
*/
- ~OPropertySetHelper() SAL_THROW( () );
+ ~OPropertySetHelper() SAL_THROW(());
};
#if defined _MSC_VER
#pragma warning(pop)
@@ -700,15 +700,15 @@ public:
private:
- OPropertySetHelper2( const OPropertySetHelper2 & ) SAL_THROW( () );
- OPropertySetHelper2 & operator = ( const OPropertySetHelper2 & ) SAL_THROW( () );
+ OPropertySetHelper2( const OPropertySetHelper2 & ) SAL_THROW(());
+ OPropertySetHelper2 & operator = ( const OPropertySetHelper2 & ) SAL_THROW(());
public:
// Suppress warning about virtual functions but non-virtual destructor:
/**
You must call disposing before destruction.
*/
- virtual ~OPropertySetHelper2() SAL_THROW( () );
+ virtual ~OPropertySetHelper2() SAL_THROW(());
};
} // end namespace cppuhelper
diff --git a/cppuhelper/inc/cppuhelper/queryinterface.hxx b/cppuhelper/inc/cppuhelper/queryinterface.hxx
index 4717eacce33c..8bbb56038051 100644
--- a/cppuhelper/inc/cppuhelper/queryinterface.hxx
+++ b/cppuhelper/inc/cppuhelper/queryinterface.hxx
@@ -48,7 +48,7 @@ template< class Interface1 >
inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -68,7 +68,7 @@ template< class Interface1, class Interface2 >
inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1, Interface2 * p2 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -92,7 +92,7 @@ template< class Interface1, class Interface2, class Interface3 >
inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1, Interface2 * p2, Interface3 * p3 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -120,7 +120,7 @@ template< class Interface1, class Interface2, class Interface3, class Interface4
inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -152,7 +152,7 @@ template< class Interface1, class Interface2, class Interface3, class Interface4
inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -190,7 +190,7 @@ inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
Interface6 * p6 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -232,7 +232,7 @@ inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
Interface6 * p6, Interface7 * p7 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -278,7 +278,7 @@ inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
Interface6 * p6, Interface7 * p7, Interface8 * p8 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -328,7 +328,7 @@ inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -382,7 +382,7 @@ inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type & rType,
Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -442,7 +442,7 @@ inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
Interface11 * p11 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
@@ -506,7 +506,7 @@ inline ::com::sun::star::uno::Any SAL_CALL queryInterface(
Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
Interface11 * p11, Interface12 * p12 )
- SAL_THROW( () )
+ SAL_THROW(())
{
if (rType == Interface1::static_type())
return ::com::sun::star::uno::Any( &p1, rType );
diff --git a/cppuhelper/inc/cppuhelper/stdidlclass.hxx b/cppuhelper/inc/cppuhelper/stdidlclass.hxx
index 6879adf6f743..750057fef12e 100644
--- a/cppuhelper/inc/cppuhelper/stdidlclass.hxx
+++ b/cppuhelper/inc/cppuhelper/stdidlclass.hxx
@@ -44,7 +44,7 @@ CPPUHELPER_DLLPUBLIC ::com::sun::star::reflection::XIdlClass * SAL_CALL createSt
const ::rtl::OUString & sImplementationName ,
const ::com::sun::star::uno::Reference < ::com::sun::star::reflection::XIdlClass > & rSuperClass,
const ::com::sun::star::uno::Sequence < ::rtl::OUString > &seq )
- SAL_THROW( () );
+ SAL_THROW(());
@@ -69,7 +69,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const ::com::sun::star::uno::Reference < ::com::sun::star::reflection::XIdlClass > & ,
const Interface1 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
@@ -85,7 +85,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const Interface1 *,
const Interface2 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
@@ -104,7 +104,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const Interface2 *,
const Interface3 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
@@ -124,7 +124,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const Interface3 *,
const Interface4 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
@@ -147,7 +147,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const Interface4 *,
const Interface5 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
@@ -169,7 +169,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const Interface5 *,
const Interface6 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
@@ -193,7 +193,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const Interface6 *,
const Interface7 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
@@ -219,7 +219,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const Interface7 *,
const Interface8 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
@@ -244,7 +244,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const Interface8 *,
const Interface9 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
@@ -268,7 +268,7 @@ createStandardClass( const ::com::sun::star::uno::Reference < ::com::sun::star::
const Interface9 *,
const Interface10 *
)
- SAL_THROW( () )
+ SAL_THROW(())
{
return 0;
}
diff --git a/cppuhelper/inc/cppuhelper/typeprovider.hxx b/cppuhelper/inc/cppuhelper/typeprovider.hxx
index af813e570d03..8bcf9272ceeb 100644
--- a/cppuhelper/inc/cppuhelper/typeprovider.hxx
+++ b/cppuhelper/inc/cppuhelper/typeprovider.hxx
@@ -47,42 +47,42 @@ class CPPUHELPER_DLLPUBLIC OTypeCollection
public:
/// @cond INTERNAL
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
/// @endcond
inline OTypeCollection( const OTypeCollection & rCollection )
- SAL_THROW( () )
+ SAL_THROW(())
: _aTypes( rCollection._aTypes )
{}
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
const ::com::sun::star::uno::Type & rType3,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
const ::com::sun::star::uno::Type & rType3,
const ::com::sun::star::uno::Type & rType4,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
@@ -90,7 +90,7 @@ public:
const ::com::sun::star::uno::Type & rType4,
const ::com::sun::star::uno::Type & rType5,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
@@ -99,7 +99,7 @@ public:
const ::com::sun::star::uno::Type & rType5,
const ::com::sun::star::uno::Type & rType6,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
@@ -109,7 +109,7 @@ public:
const ::com::sun::star::uno::Type & rType6,
const ::com::sun::star::uno::Type & rType7,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
@@ -120,7 +120,7 @@ public:
const ::com::sun::star::uno::Type & rType7,
const ::com::sun::star::uno::Type & rType8,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
@@ -132,7 +132,7 @@ public:
const ::com::sun::star::uno::Type & rType8,
const ::com::sun::star::uno::Type & rType9,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
@@ -145,7 +145,7 @@ public:
const ::com::sun::star::uno::Type & rType9,
const ::com::sun::star::uno::Type & rType10,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
@@ -159,7 +159,7 @@ public:
const ::com::sun::star::uno::Type & rType10,
const ::com::sun::star::uno::Type & rType11,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
OTypeCollection(
const ::com::sun::star::uno::Type & rType1,
const ::com::sun::star::uno::Type & rType2,
@@ -174,13 +174,13 @@ public:
const ::com::sun::star::uno::Type & rType11,
const ::com::sun::star::uno::Type & rType12,
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >() )
- SAL_THROW( () );
+ SAL_THROW(());
/** Called upon XTypeProvider::getTypes().
@return type collection
*/
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() SAL_THROW( () )
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() SAL_THROW(())
{ return _aTypes; }
};
@@ -196,16 +196,16 @@ public:
/// @cond INTERNAL
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
- ~OImplementationId() SAL_THROW( () );
+ ~OImplementationId() SAL_THROW(());
/// @endcond
@@ -213,7 +213,7 @@ public:
@param bUseEthernetAddress whether an ethernet mac address should be taken into account
*/
- inline OImplementationId( sal_Bool bUseEthernetAddress = sal_True ) SAL_THROW( () )
+ inline OImplementationId( sal_Bool bUseEthernetAddress = sal_True ) SAL_THROW(())
: _pSeq( 0 )
, _bUseEthernetAddress( bUseEthernetAddress )
{}
@@ -221,10 +221,10 @@ public:
@param rSeq implementation id
*/
- inline OImplementationId( const ::com::sun::star::uno::Sequence< sal_Int8 > & rSeq ) SAL_THROW( () )
+ inline OImplementationId( const ::com::sun::star::uno::Sequence< sal_Int8 > & rSeq ) SAL_THROW(())
: _pSeq( new ::com::sun::star::uno::Sequence< sal_Int8 >( rSeq ) )
{}
- inline OImplementationId( const OImplementationId & rId ) SAL_THROW( () )
+ inline OImplementationId( const OImplementationId & rId ) SAL_THROW(())
: _pSeq( new ::com::sun::star::uno::Sequence< sal_Int8 >( rId.getImplementationId() ) )
{}
@@ -232,7 +232,7 @@ public:
@return implementation id
*/
- ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() const SAL_THROW( () );
+ ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() const SAL_THROW(());
};
}
diff --git a/cppuhelper/inc/cppuhelper/weak.hxx b/cppuhelper/inc/cppuhelper/weak.hxx
index ceddbda9c411..8838797dfe5d 100644
--- a/cppuhelper/inc/cppuhelper/weak.hxx
+++ b/cppuhelper/inc/cppuhelper/weak.hxx
@@ -90,13 +90,13 @@ protected:
public:
/// @cond INTERNAL
// these are here to force memory de/allocation to sal lib.
- 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(())
{}
/// @endcond
@@ -104,11 +104,11 @@ public:
/** Default Constructor. Sets the reference count to zero.
Accidentally occurs in msvc mapfile = > had to be outlined.
*/
- OWeakObject() SAL_THROW( () );
+ OWeakObject() SAL_THROW(());
#else
/** Default Constructor. Sets the reference count to zero.
*/
- inline OWeakObject() SAL_THROW( () )
+ inline OWeakObject() SAL_THROW(())
: m_refCount( 0 )
, m_pWeakConnectionPoint( 0 )
{}
@@ -117,7 +117,7 @@ public:
@param rObj dummy param
*/
- inline OWeakObject( const OWeakObject & ) SAL_THROW( () )
+ inline OWeakObject( const OWeakObject & ) SAL_THROW(())
: com::sun::star::uno::XWeak()
, m_refCount( 0 )
, m_pWeakConnectionPoint( 0 )
@@ -127,7 +127,7 @@ public:
@return this OWeakObject
*/
inline OWeakObject & SAL_CALL operator = ( const OWeakObject &)
- SAL_THROW( () )
+ SAL_THROW(())
{ return *this; }
/** Basic queryInterface() implementation supporting \::com::sun::star::uno::XWeak and
@@ -159,7 +159,7 @@ public:
@return XInterface reference
*/
- inline SAL_CALL operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > () SAL_THROW( () )
+ inline SAL_CALL operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > () SAL_THROW(())
{ return this; }
};
diff --git a/cppuhelper/inc/cppuhelper/weakagg.hxx b/cppuhelper/inc/cppuhelper/weakagg.hxx
index 150cfd1b1aa4..094e178ec222 100644
--- a/cppuhelper/inc/cppuhelper/weakagg.hxx
+++ b/cppuhelper/inc/cppuhelper/weakagg.hxx
@@ -53,7 +53,7 @@ class CPPUHELPER_DLLPUBLIC OWeakAggObject
public:
/** Constructor. No delegator set.
*/
- inline OWeakAggObject() SAL_THROW( () )
+ inline OWeakAggObject() SAL_THROW(())
{}
/** If a delegator is set, then the delegators gets acquired. Otherwise call is delegated to
@@ -102,8 +102,8 @@ protected:
*/
::com::sun::star::uno::WeakReferenceHelper xDelegator;
private:
- OWeakAggObject( const OWeakAggObject & rObj ) SAL_THROW( () );
- OWeakAggObject & operator = ( const OWeakAggObject & rObj ) SAL_THROW( () );
+ OWeakAggObject( const OWeakAggObject & rObj ) SAL_THROW(());
+ OWeakAggObject & operator = ( const OWeakAggObject & rObj ) SAL_THROW(());
};
}
diff --git a/cppuhelper/inc/cppuhelper/weakref.hxx b/cppuhelper/inc/cppuhelper/weakref.hxx
index 1e8362a19b23..73c8ee24e76f 100644
--- a/cppuhelper/inc/cppuhelper/weakref.hxx
+++ b/cppuhelper/inc/cppuhelper/weakref.hxx
@@ -51,7 +51,7 @@ class CPPUHELPER_DLLPUBLIC WeakReferenceHelper
public:
/** Default ctor. Creates an empty weak reference.
*/
- inline WeakReferenceHelper() SAL_THROW( () )
+ inline WeakReferenceHelper() SAL_THROW(())
: m_pImpl( 0 )
{}
@@ -59,23 +59,23 @@ public:
@param rWeakRef another weak ref
*/
- WeakReferenceHelper( const WeakReferenceHelper & rWeakRef ) SAL_THROW( () );
+ WeakReferenceHelper( const WeakReferenceHelper & rWeakRef ) SAL_THROW(());
/** Initialize this reference with the hard interface reference xInt. If the implementation
behind xInt does not support XWeak or XInt is null then this reference will be null.
@param xInt another hard interface reference
*/
WeakReferenceHelper( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & xInt )
- SAL_THROW( () );
+ SAL_THROW(());
/** Releases this reference.
*/
- ~WeakReferenceHelper() SAL_THROW( () );
+ ~WeakReferenceHelper() SAL_THROW(());
/** Releases this reference and takes over rWeakRef.
@param rWeakRef another weak ref
*/
- WeakReferenceHelper & SAL_CALL operator = ( const WeakReferenceHelper & rWeakRef ) SAL_THROW( () );
+ WeakReferenceHelper & SAL_CALL operator = ( const WeakReferenceHelper & rWeakRef ) SAL_THROW(());
/** Releases this reference and takes over hard reference xInt.
If the implementation behind xInt does not support XWeak
@@ -85,33 +85,33 @@ public:
*/
WeakReferenceHelper & SAL_CALL operator = (
const ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XInterface > & xInt ) SAL_THROW( () );
+ ::com::sun::star::uno::XInterface > & xInt ) SAL_THROW(());
/** Returns true if both weak refs reference to the same object.
@param rObj another weak ref
@return true, if both weak refs reference to the same object.
*/
- inline sal_Bool SAL_CALL operator == ( const WeakReferenceHelper & rObj ) const SAL_THROW( () )
+ inline sal_Bool SAL_CALL operator == ( const WeakReferenceHelper & rObj ) const SAL_THROW(())
{ return (get() == rObj.get()); }
/** Gets a hard reference to the object.
@return hard reference or null, if the weakly referenced interface has gone
*/
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL get() const SAL_THROW( () );
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL get() const SAL_THROW(());
/** Gets a hard reference to the object.
@return hard reference or null, if the weakly referenced interface has gone
*/
- inline SAL_CALL operator Reference< XInterface > () const SAL_THROW( () )
+ inline SAL_CALL operator Reference< XInterface > () const SAL_THROW(())
{ return get(); }
/** Releases this reference.
@since UDK 3.2.12
*/
- void SAL_CALL clear() SAL_THROW( () );
+ void SAL_CALL clear() SAL_THROW(());
protected:
/// @cond INTERNAL
@@ -130,7 +130,7 @@ class WeakReference : public WeakReferenceHelper
public:
/** Default ctor. Creates an empty weak reference.
*/
- inline WeakReference() SAL_THROW( () )
+ inline WeakReference() SAL_THROW(())
: WeakReferenceHelper()
{}
@@ -138,7 +138,7 @@ public:
@param rRef another hard ref
*/
- inline WeakReference( const Reference< interface_type > & rRef ) SAL_THROW( () )
+ inline WeakReference( const Reference< interface_type > & rRef ) SAL_THROW(())
: WeakReferenceHelper( rRef )
{}
@@ -152,14 +152,14 @@ public:
*/
WeakReference & SAL_CALL operator = (
const ::com::sun::star::uno::Reference< interface_type > & xInt )
- SAL_THROW( () )
+ SAL_THROW(())
{ WeakReferenceHelper::operator=(xInt); return *this; }
/** Gets a hard reference to the object.
@return hard reference or null, if the weakly referenced interface has gone
*/
- inline SAL_CALL operator Reference< interface_type > () const SAL_THROW( () )
+ inline SAL_CALL operator Reference< interface_type > () const SAL_THROW(())
{ return Reference< interface_type >::query( get() ); }
};