diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 10:43:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 15:51:54 +0100 |
commit | 5c5bbe9d0198a53eee67963c9cae7ba80e7b2a83 (patch) | |
tree | 4403fa5e1676055773ad6c1ef58b86606682e2cc /sd | |
parent | 318ffa88240f55adef906df673614123d19f35a3 (diff) |
coverity#707122 Uncaught exception
Change-Id: I4a2da7874493169ad60b81be59d14269418aae96
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()) |