summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 21:04:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 21:04:25 +0100
commit8a4d61ceec4dd95931c6ff97311e41a480fe3411 (patch)
tree9d343f96ea35a87dbc7eac00f3b08dc061a21c6c /scripting
parent30dfabb68e868788f64802afd673f351145f71a4 (diff)
coverity#1308560 Uncaught exception
Change-Id: Ic5a483ae6de5e072430d8198651177788bf86af9
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index 8748d0ad6691..a34c2735e09f 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -649,7 +649,7 @@ private:
DECL_LINK( OnAsyncScriptEvent, ScriptEvent* );
#endif
void setShellFromModel();
- void firing_Impl( const ScriptEvent& evt, Any *pSyncRet=NULL ) throw( RuntimeException );
+ void firing_Impl( const ScriptEvent& evt, Any *pSyncRet=NULL ) throw( RuntimeException, std::exception );
Reference< XComponentContext > m_xContext;
Reference< frame::XModel > m_xModel;
@@ -870,7 +870,7 @@ bool DenyMouseDrag(const ScriptEvent& evt, void* )
// EventListener
void
-EventListener::firing_Impl(const ScriptEvent& evt, Any* pRet ) throw(RuntimeException)
+EventListener::firing_Impl(const ScriptEvent& evt, Any* pRet ) throw(RuntimeException, std::exception)
{
OSL_TRACE("EventListener::firing_Impl( FAKE VBA_EVENTS )");
static const OUString vbaInterOp =