From 2eae2188a2df3882b173195b51fe3e2eef2558cc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 13 Feb 2014 12:54:17 +0000 Subject: coverity#737088 Uncaught exception Change-Id: I88faa8bb4401e026ce28f8bf08fcc0514c04bdcf --- editeng/source/editeng/impedit.cxx | 4 +++- editeng/source/editeng/impedit.hxx | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'editeng') diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index b91f9b1d4a16..e01b222f0646 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -1609,7 +1609,9 @@ void ImpEditView::dragGestureRecognized( const ::com::sun::star::datatransfer::d } } -void ImpEditView::dragDropEnd( const ::com::sun::star::datatransfer::dnd::DragSourceDropEvent& rDSDE ) throw (::com::sun::star::uno::RuntimeException) +void ImpEditView::dragDropEnd( const ::com::sun::star::datatransfer::dnd::DragSourceDropEvent& rDSDE ) + throw (::com::sun::star::uno::RuntimeException, + std::exception) { SolarMutexGuard aVclGuard; diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 08a2e7826a1d..d56be07f6c69 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -246,7 +246,9 @@ protected: // DragAndDropClient void dragGestureRecognized( const ::com::sun::star::datatransfer::dnd::DragGestureEvent& dge ) throw (::com::sun::star::uno::RuntimeException); - void dragDropEnd( const ::com::sun::star::datatransfer::dnd::DragSourceDropEvent& dsde ) throw (::com::sun::star::uno::RuntimeException); + void dragDropEnd( const ::com::sun::star::datatransfer::dnd::DragSourceDropEvent& dsde ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); void drop( const ::com::sun::star::datatransfer::dnd::DropTargetDropEvent& dtde ) throw (::com::sun::star::uno::RuntimeException); void dragEnter( const ::com::sun::star::datatransfer::dnd::DropTargetDragEnterEvent& dtdee ) throw (::com::sun::star::uno::RuntimeException); void dragExit( const ::com::sun::star::datatransfer::dnd::DropTargetEvent& dte ) throw (::com::sun::star::uno::RuntimeException); -- cgit