diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index 883b49fd5a4a..2ac41e9e7205 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -451,7 +451,7 @@ public: private: // convert void convertToEventReturn( Any & rRet, const Type& rRetType ) - throw( CannotConvertException ); + throw (CannotConvertException, RuntimeException); EventAttacherImpl * m_pEA; Reference< XInterface > m_xEAHold; @@ -477,10 +477,9 @@ void SAL_CALL FilterAllListenerImpl::firing(const AllEventObject& Event) m_AllListener->firing( Event ); } - // Convert to the standard event return void FilterAllListenerImpl::convertToEventReturn( Any & rRet, const Type & rRetType ) - throw( CannotConvertException ) + throw (CannotConvertException, RuntimeException) { // no return value? Set to the specified values if( rRet.getValueType().getTypeClass() == TypeClass_VOID )