diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 12:57:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 14:56:19 +0000 |
commit | 7842d207b5512c272989c162fdeb9b36e525e83d (patch) | |
tree | 1621936e007882c225c911c61ed9d7e441c31f6e | |
parent | e87cd3edfc4b09fa06bea6b79a64a2c1529f6cb4 (diff) |
coverity#737095 Uncaught exception
Change-Id: I65ca622983ced4645d97c3d7e0bcde94a46618c3
-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 1b0ef3fd94db..1503ba6683b5 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -1822,7 +1822,9 @@ void ImpEditView::dragExit( const ::com::sun::star::datatransfer::dnd::DropTarge } } -void ImpEditView::dragOver( const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& rDTDE ) throw (::com::sun::star::uno::RuntimeException) +void ImpEditView::dragOver(const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& 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 2fdc57897075..46516bdb4e17 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -256,7 +256,9 @@ protected: 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); + void dragOver(const ::com::sun::star::datatransfer::dnd::DropTargetDragEvent& dtde) + throw (::com::sun::star::uno::RuntimeException, + std::exception); void ShowDDCursor( const Rectangle& rRect ); void HideDDCursor(); |