diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:30:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:26 +0000 |
commit | 47f4eead5db5b1e4cb29c9695e5445cc2ccaf8ad (patch) | |
tree | 4890577ad1831bef7942e62e17100babb63a7d63 /sd | |
parent | coverity#737772 Uncaught exception (diff) | |
download | core-47f4eead5db5b1e4cb29c9695e5445cc2ccaf8ad.tar.gz core-47f4eead5db5b1e4cb29c9695e5445cc2ccaf8ad.zip |
coverity#737802 Uncaught exception
Change-Id: I844e712f82890a4018c4ae45e7d79daaf4f6937a
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/SdUnoDrawView.hxx | 3 | ||||
-rw-r--r-- | sd/source/ui/unoidl/SdUnoDrawView.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx index 74d668dd7a25..1934302c18c2 100644 --- a/sd/source/ui/inc/SdUnoDrawView.hxx +++ b/sd/source/ui/inc/SdUnoDrawView.hxx @@ -54,7 +54,8 @@ public: css::uno::RuntimeException); virtual css::uno::Any SAL_CALL getSelection (void) - throw(css::uno::RuntimeException); + throw (css::uno::RuntimeException, + std::exception); virtual void SAL_CALL addSelectionChangeListener ( const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener) diff --git a/sd/source/ui/unoidl/SdUnoDrawView.cxx b/sd/source/ui/unoidl/SdUnoDrawView.cxx index 71dd63b77eb8..9c9bbccebc7d 100644 --- a/sd/source/ui/unoidl/SdUnoDrawView.cxx +++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx @@ -274,7 +274,7 @@ sal_Bool SAL_CALL SdUnoDrawView::select( const Any& aSelection ) Any SAL_CALL SdUnoDrawView::getSelection() - throw(RuntimeException) + throw (RuntimeException, std::exception) { Any aAny; |