diff options
Diffstat (limited to 'cppuhelper/inc/cppuhelper/propshlp.hxx')
-rw-r--r-- | cppuhelper/inc/cppuhelper/propshlp.hxx | 66 |
1 files changed, 33 insertions, 33 deletions
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 |