From bcbf642c4c0d076230a7ba3f5c731a615047d871 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 24 May 2014 15:30:52 +0100 Subject: coverity#983657 Uncaught exception Change-Id: I4feec3aeaf5f7b821a15f3b74f7b2df1f63a6681 --- eventattacher/source/eventattacher.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'eventattacher') 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 ) -- cgit