summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/SdUnoDrawView.hxx2
-rw-r--r--sd/source/ui/unoidl/SdUnoDrawView.cxx2
2 files changed, 2 insertions, 2 deletions
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<drawing::XLayer> SdUnoDrawView::getActiveLayer() throw ()
}
void SdUnoDrawView::setActiveLayer (const Reference<drawing::XLayer>& rxLayer)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
// Get the SdrLayer object corresponding to the given reference.
if ( ! rxLayer.is())