summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-23 15:32:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 15:32:57 +0000
commit379b98741ac6780db0d6d50aa7c321e6b25246e9 (patch)
treee0fd6f8978f9a201fbed83e6400dfce98cbaa183 /sd
parentcoverity#706831 Uncaught exception (diff)
downloadcore-379b98741ac6780db0d6d50aa7c321e6b25246e9.tar.gz
core-379b98741ac6780db0d6d50aa7c321e6b25246e9.zip
coverity#707113 Uncaught exception
Change-Id: I612503ef40682820821dbf61dd12afbc62e4eb39
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/slideshow.hxx4
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx3
2 files changed, 5 insertions, 2 deletions
diff --git a/sd/source/ui/inc/slideshow.hxx b/sd/source/ui/inc/slideshow.hxx
index 83918d268300..a06daa725f4d 100644
--- a/sd/source/ui/inc/slideshow.hxx
+++ b/sd/source/ui/inc/slideshow.hxx
@@ -136,7 +136,9 @@ public:
virtual void SAL_CALL rehearseTimings( ) throw (::com::sun::star::uno::RuntimeException);
// XPresentation2
- virtual void SAL_CALL startWithArguments( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL startWithArguments(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments)
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual ::sal_Bool SAL_CALL isRunning( ) throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::presentation::XSlideShowController > SAL_CALL getController( ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index 8f3f757bb182..13fb14118e55 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -834,7 +834,8 @@ void SAL_CALL SlideShow::rehearseTimings() throw(RuntimeException)
// XPresentation2
-void SAL_CALL SlideShow::startWithArguments( const Sequence< PropertyValue >& rArguments ) throw (RuntimeException)
+void SAL_CALL SlideShow::startWithArguments(const Sequence< PropertyValue >& rArguments)
+ throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ThrowIfDisposed();