diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 12:56:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 14:56:19 +0000 |
commit | e87cd3edfc4b09fa06bea6b79a64a2c1529f6cb4 (patch) | |
tree | f3a7333d00e483590e25aa734eaff25a346f4c09 /editeng | |
parent | f1e4bd297ed6ff6846e2a2605f4f19353ab9c7ec (diff) |
coverity#737093 Uncaught exception
Change-Id: I48bbdc7fe2c6ac60ba9630565c1844a2a24b7ad0
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index ffeea4534556..1b0ef3fd94db 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -1706,7 +1706,9 @@ void ImpEditView::dragDropEnd( const ::com::sun::star::datatransfer::dnd::DragSo } } -void ImpEditView::drop( const ::com::sun::star::datatransfer::dnd::DropTargetDropEvent& rDTDE ) throw (::com::sun::star::uno::RuntimeException) +void ImpEditView::drop( const ::com::sun::star::datatransfer::dnd::DropTargetDropEvent& rDTDE ) + 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 0e217b9eef9b..2fdc57897075 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -251,7 +251,9 @@ protected: 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 drop(const ::com::sun::star::datatransfer::dnd::DropTargetDropEvent& dtde) + throw (::com::sun::star::uno::RuntimeException, + std::exception); 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); void dragOver( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& dtde ) throw (::com::sun::star::uno::RuntimeException); |