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();