diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 15:33:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 15:33:48 +0000 |
commit | 8d5def6dc4973c0727a2b508bad1de03967f8063 (patch) | |
tree | 537d77bddba123867c00cb3019ed90237ddf957b /sd | |
parent | coverity#707113 Uncaught exception (diff) | |
download | core-8d5def6dc4973c0727a2b508bad1de03967f8063.tar.gz core-8d5def6dc4973c0727a2b508bad1de03967f8063.zip |
coverity#707114 Uncaught exception
Change-Id: I556c326e537faeb3d125a0a8f1cb0c749df29f24
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/slideshow.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/slideshow/slideshow.cxx | 3 |
2 files changed, 5 insertions, 2 deletions
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<WorkWindow*>(pShell->GetViewFrame()->GetTopFrame().GetWindow().GetParent()); } -void SAL_CALL SlideShow::end() throw(RuntimeException) +void SAL_CALL SlideShow::end() + throw (RuntimeException, std::exception) { SolarMutexGuard aGuard; |