diff options
Diffstat (limited to 'unoxml/source/events/uievent.cxx')
-rw-r--r-- | unoxml/source/events/uievent.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/unoxml/source/events/uievent.cxx b/unoxml/source/events/uievent.cxx index a2ce80a658f6..31562be5cccc 100644 --- a/unoxml/source/events/uievent.cxx +++ b/unoxml/source/events/uievent.cxx @@ -28,13 +28,13 @@ namespace DOM { namespace events } Reference< XAbstractView > SAL_CALL - CUIEvent::getView() throw(RuntimeException) + CUIEvent::getView() throw(RuntimeException, std::exception) { ::osl::MutexGuard const g(m_Mutex); return m_view; } - sal_Int32 SAL_CALL CUIEvent::getDetail() throw(RuntimeException) + sal_Int32 SAL_CALL CUIEvent::getDetail() throw(RuntimeException, std::exception) { ::osl::MutexGuard const g(m_Mutex); return m_detail; @@ -44,7 +44,7 @@ namespace DOM { namespace events sal_Bool canBubbleArg, sal_Bool cancelableArg, const Reference< XAbstractView >& viewArg, - sal_Int32 detailArg) throw(RuntimeException) + sal_Int32 detailArg) throw(RuntimeException, std::exception) { ::osl::MutexGuard const g(m_Mutex); @@ -55,53 +55,53 @@ namespace DOM { namespace events // delegate to CEvent, since we are inheriting from CEvent and XEvent - OUString SAL_CALL CUIEvent::getType() throw (RuntimeException) + OUString SAL_CALL CUIEvent::getType() throw (RuntimeException, std::exception) { return CEvent::getType(); } - Reference< XEventTarget > SAL_CALL CUIEvent::getTarget() throw (RuntimeException) + Reference< XEventTarget > SAL_CALL CUIEvent::getTarget() throw (RuntimeException, std::exception) { return CEvent::getTarget(); } - Reference< XEventTarget > SAL_CALL CUIEvent::getCurrentTarget() throw (RuntimeException) + Reference< XEventTarget > SAL_CALL CUIEvent::getCurrentTarget() throw (RuntimeException, std::exception) { return CEvent::getCurrentTarget(); } - PhaseType SAL_CALL CUIEvent::getEventPhase() throw (RuntimeException) + PhaseType SAL_CALL CUIEvent::getEventPhase() throw (RuntimeException, std::exception) { return CEvent::getEventPhase(); } - sal_Bool SAL_CALL CUIEvent::getBubbles() throw (RuntimeException) + sal_Bool SAL_CALL CUIEvent::getBubbles() throw (RuntimeException, std::exception) { return CEvent::getBubbles(); } - sal_Bool SAL_CALL CUIEvent::getCancelable() throw (RuntimeException) + sal_Bool SAL_CALL CUIEvent::getCancelable() throw (RuntimeException, std::exception) { // mutation events cannot be canceled return sal_False; } - com::sun::star::util::Time SAL_CALL CUIEvent::getTimeStamp() throw (RuntimeException) + com::sun::star::util::Time SAL_CALL CUIEvent::getTimeStamp() throw (RuntimeException, std::exception) { return CEvent::getTimeStamp(); } - void SAL_CALL CUIEvent::stopPropagation() throw (RuntimeException) + void SAL_CALL CUIEvent::stopPropagation() throw (RuntimeException, std::exception) { CEvent::stopPropagation(); } - void SAL_CALL CUIEvent::preventDefault() throw (RuntimeException) + void SAL_CALL CUIEvent::preventDefault() throw (RuntimeException, std::exception) { CEvent::preventDefault(); } void SAL_CALL CUIEvent::initEvent(const OUString& eventTypeArg, sal_Bool canBubbleArg, - sal_Bool cancelableArg) throw (RuntimeException) + sal_Bool cancelableArg) throw (RuntimeException, std::exception) { // base initializer CEvent::initEvent(eventTypeArg, canBubbleArg, cancelableArg); |