diff options
author | Daniel Boelzle <dbo@openoffice.org> | 2001-03-09 11:15:28 +0000 |
---|---|---|
committer | Daniel Boelzle <dbo@openoffice.org> | 2001-03-09 11:15:28 +0000 |
commit | 414591811ccbd8120f697bfc8bfd44c3bb1f28ac (patch) | |
tree | b289b2d67ab60e558a780e0d9a7d65947957e6a3 /cppuhelper/source/stdidlclass.cxx | |
parent | fee2a34fc7ce4301dd5335dd7c6072f5696480dd (diff) |
revised function throw () clauses, removed obsolete macros.hxx
Diffstat (limited to 'cppuhelper/source/stdidlclass.cxx')
-rw-r--r-- | cppuhelper/source/stdidlclass.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/cppuhelper/source/stdidlclass.cxx b/cppuhelper/source/stdidlclass.cxx index 139e1a8b53d1..ea056826a0e5 100644 --- a/cppuhelper/source/stdidlclass.cxx +++ b/cppuhelper/source/stdidlclass.cxx @@ -2,9 +2,9 @@ * * $RCSfile: stdidlclass.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:26:10 $ + * last change: $Author: dbo $ $Date: 2001-03-09 12:15:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -88,7 +88,7 @@ public: const OUString & sImplementationName , const Reference < XIdlClass > & rSuperClass, const Sequence < OUString > &seq - ); + ) SAL_THROW( () ); // XInterface Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) @@ -98,7 +98,8 @@ public: void SAL_CALL release() { OWeakObject::release(); } // XIdlClassProvider - Sequence< Reference < XIdlClass > > SAL_CALL getIdlClasses(void); + Sequence< Reference < XIdlClass > > SAL_CALL getIdlClasses(void) + throw (RuntimeException); // XIdlClass virtual Sequence< Reference< XIdlClass > > SAL_CALL getClasses( ) throw(RuntimeException) @@ -146,7 +147,7 @@ OStdIdlClass::OStdIdlClass( const OUString & sImplementationName , const Reference < XIdlClass > & rSuperClass, const Sequence < OUString > &seq - ) : + ) SAL_THROW( () ) : m_rSMgr( rSMgr ) , m_sImplementationName( sImplementationName ) , m_seqSupportedInterface( seq ) @@ -192,6 +193,7 @@ Sequence< Reference< XIdlClass > > SAL_CALL OStdIdlClass::getInterfaces( ) thro // XIdlClassProvider Sequence< Reference < XIdlClass > > SAL_CALL OStdIdlClass::getIdlClasses(void) + throw (RuntimeException) { // weak reference to cache the standard class static WeakReference< XIdlClass > weakRef; @@ -225,6 +227,7 @@ XIdlClass * SAL_CALL createStandardClassWithSequence( const OUString & sImplementationName , const Reference < XIdlClass > & rSuperClass, const Sequence < OUString > &seqInterfaceNames ) + SAL_THROW( () ) { return SAL_STATIC_CAST( XIdlClass * , |