diff options
Diffstat (limited to 'unoxml/source/events/mouseevent.hxx')
-rw-r--r-- | unoxml/source/events/mouseevent.hxx | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/unoxml/source/events/mouseevent.hxx b/unoxml/source/events/mouseevent.hxx index 5f3d31c21b8e..460c0a8ed5e3 100644 --- a/unoxml/source/events/mouseevent.hxx +++ b/unoxml/source/events/mouseevent.hxx @@ -50,16 +50,16 @@ protected: public: explicit CMouseEvent(); - virtual sal_Int32 SAL_CALL getScreenX() throw (RuntimeException); - virtual sal_Int32 SAL_CALL getScreenY() throw (RuntimeException); - virtual sal_Int32 SAL_CALL getClientX() throw (RuntimeException); - virtual sal_Int32 SAL_CALL getClientY() throw (RuntimeException); - virtual sal_Bool SAL_CALL getCtrlKey() throw (RuntimeException); - virtual sal_Bool SAL_CALL getShiftKey() throw (RuntimeException); - virtual sal_Bool SAL_CALL getAltKey() throw (RuntimeException); - virtual sal_Bool SAL_CALL getMetaKey() throw (RuntimeException); - virtual sal_Int16 SAL_CALL getButton() throw (RuntimeException); - virtual Reference< XEventTarget > SAL_CALL getRelatedTarget() throw(RuntimeException); + virtual sal_Int32 SAL_CALL getScreenX() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getScreenY() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getClientX() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getClientY() throw (RuntimeException, std::exception); + virtual sal_Bool SAL_CALL getCtrlKey() throw (RuntimeException, std::exception); + virtual sal_Bool SAL_CALL getShiftKey() throw (RuntimeException, std::exception); + virtual sal_Bool SAL_CALL getAltKey() throw (RuntimeException, std::exception); + virtual sal_Bool SAL_CALL getMetaKey() throw (RuntimeException, std::exception); + virtual sal_Int16 SAL_CALL getButton() throw (RuntimeException, std::exception); + virtual Reference< XEventTarget > SAL_CALL getRelatedTarget() throw(RuntimeException, std::exception); virtual void SAL_CALL initMouseEvent( const OUString& typeArg, @@ -77,30 +77,30 @@ public: sal_Bool metaKeyArg, sal_Int16 buttonArg, const Reference< XEventTarget >& relatedTargetArg) - throw(RuntimeException); + throw(RuntimeException, std::exception); // delegate to CUIevent - virtual Reference< XAbstractView > SAL_CALL getView() throw (RuntimeException); - virtual sal_Int32 SAL_CALL getDetail() throw (RuntimeException); + virtual Reference< XAbstractView > SAL_CALL getView() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getDetail() throw (RuntimeException, std::exception); virtual void SAL_CALL initUIEvent(const OUString& typeArg, sal_Bool canBubbleArg, sal_Bool cancelableArg, const Reference< XAbstractView >& viewArg, - sal_Int32 detailArg) throw (RuntimeException); - virtual OUString SAL_CALL getType() throw (RuntimeException); - virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException); - virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException); - virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException); - virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException); - virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException); - virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException); - virtual void SAL_CALL stopPropagation() throw (RuntimeException); - virtual void SAL_CALL preventDefault() throw (RuntimeException); + sal_Int32 detailArg) throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getType() throw (RuntimeException, std::exception); + virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException, std::exception); + virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException, std::exception); + virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException, std::exception); + virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException, std::exception); + virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException, std::exception); + virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException, std::exception); + virtual void SAL_CALL stopPropagation() throw (RuntimeException, std::exception); + virtual void SAL_CALL preventDefault() throw (RuntimeException, std::exception); virtual void SAL_CALL initEvent( const OUString& eventTypeArg, sal_Bool canBubbleArg, sal_Bool cancelableArg) - throw (RuntimeException); + throw (RuntimeException, std::exception); }; }} #endif |