summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 17:00:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:55:54 +0100
commit9c019970d7f3d6d32d4b52f76b15aa8d7a488622 (patch)
treedbf5c46015f19af29bdd26a9fb4d24a7f8be2db7 /sd
parent29df4fed2553583839cac3b052e0bf4f6f4fb4e1 (diff)
coverity#1308524 Uncaught exception
Change-Id: I7f0e8193e3fb2cbd1b9cfe3505aab70d4e298f49
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index dfc7a998d262..3747c7b50268 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1306,7 +1306,7 @@ void SlideshowImpl::registerShapeEvents(sal_Int32 nSlideNumber)
}
}
-void SlideshowImpl::registerShapeEvents( Reference< XShapes >& xShapes ) throw( Exception )
+void SlideshowImpl::registerShapeEvents( Reference< XShapes >& xShapes ) throw( Exception, std::exception )
{
try
{
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index 3e8f00f0272d..39e0998896d4 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -304,7 +304,7 @@ private:
void removeShapeEvents();
void registerShapeEvents( sal_Int32 nSlideNumber );
- void registerShapeEvents( css::uno::Reference< css::drawing::XShapes >& xShapes ) throw (css::uno::Exception);
+ void registerShapeEvents( css::uno::Reference< css::drawing::XShapes >& xShapes ) throw (css::uno::Exception, std::exception);
static css::uno::Reference< css::presentation::XSlideShow > createSlideShow();