diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-22 20:49:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 08:54:35 +0100 |
commit | 3166336e535c15578bc91a00b0a96d72d676c8a4 (patch) | |
tree | 00f48db4205910eacca9c4e17c8ad1632f42e286 | |
parent | c8646d9e0083c0cacb61c9eff02704a4f18bb5c7 (diff) |
coverity#1215386 Uncaught exception
Change-Id: I2eb374a9209cf4bbf9e2b533ec2522bc1efe6468
-rw-r--r-- | framework/inc/uielement/progressbarwrapper.hxx | 2 | ||||
-rw-r--r-- | framework/source/uielement/progressbarwrapper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/inc/uielement/progressbarwrapper.hxx b/framework/inc/uielement/progressbarwrapper.hxx index 648754892884..2cf32fe5bace 100644 --- a/framework/inc/uielement/progressbarwrapper.hxx +++ b/framework/inc/uielement/progressbarwrapper.hxx @@ -47,7 +47,7 @@ class ProgressBarWrapper : public UIElementWrapperBase ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > getStatusBar() const; // wrapped methods of ::com::sun::star::task::XStatusIndicator - void start( const OUString& Text, ::sal_Int32 Range ) throw (::com::sun::star::uno::RuntimeException); + void start( const OUString& Text, ::sal_Int32 Range ) throw (css::uno::RuntimeException, std::exception); void end() throw (::com::sun::star::uno::RuntimeException); void setText( const OUString& Text ) throw (::com::sun::star::uno::RuntimeException); void setValue( ::sal_Int32 Value ) throw (::com::sun::star::uno::RuntimeException); diff --git a/framework/source/uielement/progressbarwrapper.cxx b/framework/source/uielement/progressbarwrapper.cxx index 8e211d523f97..e39246faf17f 100644 --- a/framework/source/uielement/progressbarwrapper.cxx +++ b/framework/source/uielement/progressbarwrapper.cxx @@ -84,7 +84,7 @@ uno::Reference< awt::XWindow > ProgressBarWrapper::getStatusBar() const // wrapped methods of ::com::sun::star::task::XStatusIndicator void ProgressBarWrapper::start( const OUString& Text, ::sal_Int32 Range ) -throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { uno::Reference< awt::XWindow > xWindow; sal_Int32 nValue( 0 ); |