summaryrefslogtreecommitdiff
path: root/eventattacher
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-24 15:30:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-24 16:11:00 +0100
commitbcbf642c4c0d076230a7ba3f5c731a615047d871 (patch)
treea928a60cd0b72ebec6ad4952221e168d8cc4f4a0 /eventattacher
parent025387b6e73b15bb3d0263def21f5b5b3ee1d764 (diff)
coverity#983657 Uncaught exception
Change-Id: I4feec3aeaf5f7b821a15f3b74f7b2df1f63a6681
Diffstat (limited to 'eventattacher')
-rw-r--r--eventattacher/source/eventattacher.cxx5
1 files changed, 2 insertions, 3 deletions
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 )