summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-13 12:56:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-13 14:56:19 +0000
commitf1e4bd297ed6ff6846e2a2605f4f19353ab9c7ec (patch)
tree9f05b152bead87ceab5c917c9fd64f71834ac5ea /editeng
parent2eae2188a2df3882b173195b51fe3e2eef2558cc (diff)
coverity#737091 Uncaught exception
Change-Id: I2d3df586f9579abcf42bd5a915d1e2e12017345d
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 e01b222f0646..ffeea4534556 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -1526,7 +1526,9 @@ void ImpEditView::ShowDDCursor( const Rectangle& rRect )
}
}
-void ImpEditView::dragGestureRecognized( const ::com::sun::star::datatransfer::dnd::DragGestureEvent& rDGE ) throw (::com::sun::star::uno::RuntimeException)
+void ImpEditView::dragGestureRecognized(const ::com::sun::star::datatransfer::dnd::DragGestureEvent& rDGE)
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception)
{
DBG_ASSERT( !pDragAndDropInfo, "dragGestureRecognized - DragAndDropInfo exist!" );
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index d56be07f6c69..0e217b9eef9b 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -245,7 +245,9 @@ private:
protected:
// DragAndDropClient
- void dragGestureRecognized( const ::com::sun::star::datatransfer::dnd::DragGestureEvent& dge ) throw (::com::sun::star::uno::RuntimeException);
+ void dragGestureRecognized(const ::com::sun::star::datatransfer::dnd::DragGestureEvent& dge)
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
void dragDropEnd( const ::com::sun::star::datatransfer::dnd::DragSourceDropEvent& dsde )
throw (::com::sun::star::uno::RuntimeException,
std::exception);