From 8d5def6dc4973c0727a2b508bad1de03967f8063 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 23 Feb 2014 15:33:48 +0000 Subject: coverity#707114 Uncaught exception Change-Id: I556c326e537faeb3d125a0a8f1cb0c749df29f24 --- sd/source/ui/inc/slideshow.hxx | 4 +++- sd/source/ui/slideshow/slideshow.cxx | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'sd/source') diff --git a/sd/source/ui/inc/slideshow.hxx b/sd/source/ui/inc/slideshow.hxx index a06daa725f4d..abee9ea14788 100644 --- a/sd/source/ui/inc/slideshow.hxx +++ b/sd/source/ui/inc/slideshow.hxx @@ -132,7 +132,9 @@ public: // XPresentation virtual void SAL_CALL start( ) throw (::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL end( ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL end() + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL rehearseTimings( ) throw (::com::sun::star::uno::RuntimeException); // XPresentation2 diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx index 13fb14118e55..de376763bcba 100644 --- a/sd/source/ui/slideshow/slideshow.cxx +++ b/sd/source/ui/slideshow/slideshow.cxx @@ -678,7 +678,8 @@ WorkWindow *SlideShow::GetWorkWindow() return dynamic_cast(pShell->GetViewFrame()->GetTopFrame().GetWindow().GetParent()); } -void SAL_CALL SlideShow::end() throw(RuntimeException) +void SAL_CALL SlideShow::end() + throw (RuntimeException, std::exception) { SolarMutexGuard aGuard; -- cgit