diff options
-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; |