summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-13 12:54:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-13 14:56:19 +0000
commit2eae2188a2df3882b173195b51fe3e2eef2558cc (patch)
tree896e5bf1f34e2ebfdc7b65d84579bb1a79562ca6 /editeng
parent0309070fb261476fa7c2e3cfa441ae4b168f920b (diff)
coverity#737088 Uncaught exception
Change-Id: I88faa8bb4401e026ce28f8bf08fcc0514c04bdcf
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.cxx4
-rw-r--r--editeng/source/editeng/impedit.hxx4
2 files changed, 6 insertions, 2 deletions
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);