summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 13:46:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 14:27:43 +0000
commit475de88f19ce629d5ff60a61bb35365a265ab1b4 (patch)
tree7fcb399861f0bf2398817d25aa24bb9038fa461f
parent9f4b335af20217d9d982ae92e946fe9b73cdfa61 (diff)
coverity#738316 Uncaught exception
Change-Id: I9b5f180e81d7703ffb7dc911e81305309b8575cf
-rw-r--r--sw/source/ui/inc/uivwimp.hxx3
-rw-r--r--sw/source/ui/uiview/uivwimp.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/inc/uivwimp.hxx b/sw/source/ui/inc/uivwimp.hxx
index 9426b2ee4395..842f6b17c0c3 100644
--- a/sw/source/ui/inc/uivwimp.hxx
+++ b/sw/source/ui/inc/uivwimp.hxx
@@ -72,7 +72,8 @@ class SwClipboardChangeListener : public ::cppu::WeakImplHelper1<
// XClipboardListener
virtual void SAL_CALL changedContents( const ::com::sun::star::datatransfer::clipboard::ClipboardEvent& rEventObject )
- throw ( com::sun::star::uno::RuntimeException );
+ throw (com::sun::star::uno::RuntimeException,
+ std::exception);
public:
SwClipboardChangeListener( SwView& rView ) : pView( &rView ) {}
diff --git a/sw/source/ui/uiview/uivwimp.cxx b/sw/source/ui/uiview/uivwimp.cxx
index c365a805190a..1224f53a6bc0 100644
--- a/sw/source/ui/uiview/uivwimp.cxx
+++ b/sw/source/ui/uiview/uivwimp.cxx
@@ -273,7 +273,7 @@ void SAL_CALL SwClipboardChangeListener::disposing( const EventObject& /*rEventO
}
void SAL_CALL SwClipboardChangeListener::changedContents( const ::com::sun::star::datatransfer::clipboard::ClipboardEvent& rEventObject )
- throw ( RuntimeException )
+ throw (RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;