summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-29 12:18:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-29 12:58:06 +0100
commitdc0b9ffb6d77d4944e99b4ee065b8d38bcb04d0e (patch)
tree2897b76dfdf092301ed962ac0bfffdae931cdcdf /sd
parent69dcc8f4e5f99cbc2f5405429c4ffc874fecc1b4 (diff)
coverity#1308595 Uncaught exception
Change-Id: I2245925215e98077c9665803435d39e9a05de367
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())