diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:32:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 10:45:26 +0000 |
commit | 94ffeed68f14be4790fd537b8fb1431472613373 (patch) | |
tree | 71204237711e5bd62b9ea5e46538e537d433130b /sd | |
parent | 76e14408abb2a982215f311002899efbf73ab78b (diff) |
coverity#737807 Uncaught exception
Change-Id: Ibee829b4d2cc4d93453f47cc59dfbaec012ffc6e
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/SdUnoDrawView.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/unoidl/SdUnoDrawView.cxx | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx index ce22ce5218cb..0c0ab2211f0f 100644 --- a/sd/source/ui/inc/SdUnoDrawView.hxx +++ b/sd/source/ui/inc/SdUnoDrawView.hxx @@ -50,8 +50,9 @@ public: virtual sal_Bool SAL_CALL select ( const css::uno::Any& aSelection) - throw(css::lang::IllegalArgumentException, - css::uno::RuntimeException); + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException, + std::exception); virtual css::uno::Any SAL_CALL getSelection (void) throw (css::uno::RuntimeException, diff --git a/sd/source/ui/unoidl/SdUnoDrawView.cxx b/sd/source/ui/unoidl/SdUnoDrawView.cxx index adb451404c65..b2bfc2e2b6eb 100644 --- a/sd/source/ui/unoidl/SdUnoDrawView.cxx +++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx @@ -176,7 +176,9 @@ void SdUnoDrawView::setActiveLayer (const Reference<drawing::XLayer>& rxLayer) t sal_Bool SAL_CALL SdUnoDrawView::select( const Any& aSelection ) - throw(lang::IllegalArgumentException, RuntimeException) + throw (lang::IllegalArgumentException, + RuntimeException, + std::exception) { bool bOk = true; |