From dc0b9ffb6d77d4944e99b4ee065b8d38bcb04d0e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 29 Jun 2015 12:18:06 +0100 Subject: coverity#1308595 Uncaught exception Change-Id: I2245925215e98077c9665803435d39e9a05de367 --- sd/source/ui/inc/SdUnoDrawView.hxx | 2 +- sd/source/ui/unoidl/SdUnoDrawView.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx index 6a9ae21c83a8..efee1d84c339 100644 --- a/sd/source/ui/inc/SdUnoDrawView.hxx +++ b/sd/source/ui/inc/SdUnoDrawView.hxx @@ -115,7 +115,7 @@ protected: @param rxLayer The new layer object. */ - void setActiveLayer (const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XLayer>& rxLayer) throw (css::uno::RuntimeException); + void setActiveLayer (const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XLayer>& rxLayer) throw (css::uno::RuntimeException, std::exception); void SetZoom( sal_Int16 nZoom ); sal_Int16 GetZoom() const; diff --git a/sd/source/ui/unoidl/SdUnoDrawView.cxx b/sd/source/ui/unoidl/SdUnoDrawView.cxx index 486c86f4df8e..c318bfb93849 100644 --- a/sd/source/ui/unoidl/SdUnoDrawView.cxx +++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx @@ -127,7 +127,7 @@ Reference SdUnoDrawView::getActiveLayer() throw () } void SdUnoDrawView::setActiveLayer (const Reference& rxLayer) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { // Get the SdrLayer object corresponding to the given reference. if ( ! rxLayer.is()) -- cgit