Kaydet (Commit) 59e4fa20 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Fridrich Štrba

coverity#983657 Uncaught exception

Change-Id: I4feec3aeaf5f7b821a15f3b74f7b2df1f63a6681
üst d2223a5f
...@@ -451,7 +451,7 @@ public: ...@@ -451,7 +451,7 @@ public:
private: private:
// convert // convert
void convertToEventReturn( Any & rRet, const Type& rRetType ) void convertToEventReturn( Any & rRet, const Type& rRetType )
throw( CannotConvertException ); throw (CannotConvertException, RuntimeException);
EventAttacherImpl * m_pEA; EventAttacherImpl * m_pEA;
Reference< XInterface > m_xEAHold; Reference< XInterface > m_xEAHold;
...@@ -477,10 +477,9 @@ void SAL_CALL FilterAllListenerImpl::firing(const AllEventObject& Event) ...@@ -477,10 +477,9 @@ void SAL_CALL FilterAllListenerImpl::firing(const AllEventObject& Event)
m_AllListener->firing( Event ); m_AllListener->firing( Event );
} }
// Convert to the standard event return // Convert to the standard event return
void FilterAllListenerImpl::convertToEventReturn( Any & rRet, const Type & rRetType ) void FilterAllListenerImpl::convertToEventReturn( Any & rRet, const Type & rRetType )
throw( CannotConvertException ) throw (CannotConvertException, RuntimeException)
{ {
// no return value? Set to the specified values // no return value? Set to the specified values
if( rRet.getValueType().getTypeClass() == TypeClass_VOID ) if( rRet.getValueType().getTypeClass() == TypeClass_VOID )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment