summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-24 09:14:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-24 10:37:12 +0100
commitd9bf242a7d57025aecf6e7117ac9626f6a293a1e (patch)
tree5e26b0c74a2ec511c3a5dbf1cf3e05df6c45f90b /vcl/unx
parent946c7b03f48b2eb873a3c4958b2ae47ea424c89a (diff)
coverity#984006 Uncaught exception
Change-Id: I0aae5a1dfab6a5f0439905a03b13f83be84a8746
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx3
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index cf84aa451ac3..24836bb565c6 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -3775,7 +3775,8 @@ void SelectionManager::shutdown() throw()
m_xDropTransferable.clear();
}
-sal_Bool SelectionManager::handleEvent( const Any& event ) throw(std::exception)
+sal_Bool SelectionManager::handleEvent(const Any& event)
+ throw (css::uno::RuntimeException, std::exception)
{
Sequence< sal_Int8 > aSeq;
if( (event >>= aSeq) )
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx
index 2bfc632f8113..1b64428db1cc 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -472,7 +472,8 @@ namespace x11 {
virtual void SAL_CALL initialize( const Sequence< Any >& arguments ) throw( ::com::sun::star::uno::Exception, std::exception ) SAL_OVERRIDE;
// XEventHandler
- virtual sal_Bool SAL_CALL handleEvent( const Any& event ) throw(std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL handleEvent(const Any& event)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XDragSource
virtual sal_Bool SAL_CALL isDragImageSupported() throw(std::exception) SAL_OVERRIDE;