diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-22 20:51:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 08:54:36 +0100 |
commit | 6cda7d5793cf079a652cf31fc07f44797a1bd22e (patch) | |
tree | 074670fe65bc019469243b84cdcc74d0663db0e1 | |
parent | fab0e8b40d32d17e5f79f4abbcf33caa610ff70f (diff) |
coverity#1215384 Uncaught exception
Change-Id: I833b8b9532c61f666755ed5e92135da3aeb55f27
-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 6f418418a889..f4213084fa46 100644 --- a/framework/inc/uielement/progressbarwrapper.hxx +++ b/framework/inc/uielement/progressbarwrapper.hxx @@ -49,7 +49,7 @@ class ProgressBarWrapper : public UIElementWrapperBase // wrapped methods of ::com::sun::star::task::XStatusIndicator 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 setText( const OUString& Text ) throw (css::uno::RuntimeException, std::exception); void setValue( ::sal_Int32 Value ) throw (css::uno::RuntimeException, std::exception); void reset() throw (::com::sun::star::uno::RuntimeException); diff --git a/framework/source/uielement/progressbarwrapper.cxx b/framework/source/uielement/progressbarwrapper.cxx index f6ff5950f5b9..e8948f6b112b 100644 --- a/framework/source/uielement/progressbarwrapper.cxx +++ b/framework/source/uielement/progressbarwrapper.cxx @@ -153,7 +153,7 @@ throw (uno::RuntimeException) } void ProgressBarWrapper::setText( const OUString& Text ) -throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { uno::Reference< awt::XWindow > xWindow; sal_Int32 nValue( 0 ); |