diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/SdUnoDrawView.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/SdUnoDrawView.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx index 62687526a1fd..2472340e7421 100644 --- a/sd/source/ui/inc/SdUnoDrawView.hxx +++ b/sd/source/ui/inc/SdUnoDrawView.hxx @@ -117,7 +117,7 @@ protected: @param rxLayer The new layer object. */ - void setActiveLayer (const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XLayer>& rxLayer) throw (); + void setActiveLayer (const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XLayer>& rxLayer) throw (css::uno::RuntimeException); void SetZoom( sal_Int16 nZoom ); sal_Int16 GetZoom(void) const; diff --git a/sd/source/ui/unoidl/SdUnoDrawView.cxx b/sd/source/ui/unoidl/SdUnoDrawView.cxx index f167cc3e35c1..9a4c554e5ad1 100644 --- a/sd/source/ui/unoidl/SdUnoDrawView.cxx +++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx @@ -150,7 +150,8 @@ Reference<drawing::XLayer> SdUnoDrawView::getActiveLayer (void) throw () -void SdUnoDrawView::setActiveLayer (const Reference<drawing::XLayer>& rxLayer) throw () +void SdUnoDrawView::setActiveLayer (const Reference<drawing::XLayer>& rxLayer) + throw (uno::RuntimeException) { // Get the SdrLayer object corresponding to the given reference. if ( ! rxLayer.is()) |