summaryrefslogtreecommitdiff
path: root/unoxml/source/events/uievent.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /unoxml/source/events/uievent.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'unoxml/source/events/uievent.cxx')
-rw-r--r--unoxml/source/events/uievent.cxx26
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);