From 6cda7d5793cf079a652cf31fc07f44797a1bd22e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 22 May 2014 20:51:18 +0100 Subject: coverity#1215384 Uncaught exception Change-Id: I833b8b9532c61f666755ed5e92135da3aeb55f27 --- framework/inc/uielement/progressbarwrapper.hxx | 2 +- 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 ); -- cgit