diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 13:03:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 14:56:17 +0000 |
commit | d29f6eb1dc0524972d6b6cefe33251b915465e77 (patch) | |
tree | 8c12d2c8a4a8db4dadc65e6bc7c4b0c57d6af696 /include | |
parent | 17bb5abb6e0bc499c6a106b0140d31fc6d77328e (diff) |
extend signatures to make some coverity rework easier
Change-Id: I670eaa51aa95bf29f51bc6542eae2f562987d5a4
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/dndhelp.hxx | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/include/vcl/dndhelp.hxx b/include/vcl/dndhelp.hxx index 410c98f54f50..2dbf3aaed08d 100644 --- a/include/vcl/dndhelp.hxx +++ b/include/vcl/dndhelp.hxx @@ -56,21 +56,43 @@ public: virtual ~DragAndDropClient(); // ::com::sun::star::datatransfer::dnd::XDragGestureListener - virtual void dragGestureRecognized( const ::com::sun::star::datatransfer::dnd::DragGestureEvent& dge ) throw (::com::sun::star::uno::RuntimeException); + virtual void dragGestureRecognized( const ::com::sun::star::datatransfer::dnd::DragGestureEvent& dge ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); // ::com::sun::star::datatransfer::dnd::XDragSourceListener - virtual void dragDropEnd( const ::com::sun::star::datatransfer::dnd::DragSourceDropEvent& dsde ) throw (::com::sun::star::uno::RuntimeException); - virtual void dragEnter( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& dsde ) throw (::com::sun::star::uno::RuntimeException); - virtual void dragExit( const ::com::sun::star::datatransfer::dnd::DragSourceEvent& dse ) throw (::com::sun::star::uno::RuntimeException); - virtual void dragOver( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& dsde ) throw (::com::sun::star::uno::RuntimeException); - virtual void dropActionChanged( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& dsde ) throw (::com::sun::star::uno::RuntimeException); + virtual void dragDropEnd(const ::com::sun::star::datatransfer::dnd::DragSourceDropEvent& dsde ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); + virtual void dragEnter( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& dsde ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); + virtual void dragExit( const ::com::sun::star::datatransfer::dnd::DragSourceEvent& dse ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); + virtual void dragOver( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& dsde ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); + virtual void dropActionChanged( const ::com::sun::star::datatransfer::dnd::DragSourceDragEvent& dsde ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); // ::com::sun::star::datatransfer::dnd::XDropTargetListener - virtual void drop( const ::com::sun::star::datatransfer::dnd::DropTargetDropEvent& dtde ) throw (::com::sun::star::uno::RuntimeException); - virtual void dragEnter( const ::com::sun::star::datatransfer::dnd::DropTargetDragEnterEvent& dtdee ) throw (::com::sun::star::uno::RuntimeException); - virtual void dragExit( const ::com::sun::star::datatransfer::dnd::DropTargetEvent& dte ) throw (::com::sun::star::uno::RuntimeException); - virtual void dragOver( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& dtde ) throw (::com::sun::star::uno::RuntimeException); - virtual void dropActionChanged( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& dtde ) throw (::com::sun::star::uno::RuntimeException); + virtual void drop( const ::com::sun::star::datatransfer::dnd::DropTargetDropEvent& dtde ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); + virtual void dragEnter( const ::com::sun::star::datatransfer::dnd::DropTargetDragEnterEvent& dtdee ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); + virtual void dragExit( const ::com::sun::star::datatransfer::dnd::DropTargetEvent& dte ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); + virtual void dragOver( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& dtde ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); + virtual void dropActionChanged( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& dtde ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); }; class VCL_DLLPUBLIC DragAndDropWrapper : |