From fab0e8b40d32d17e5f79f4abbcf33caa610ff70f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 22 May 2014 20:50:31 +0100 Subject: coverity#1215385 Uncaught exception Change-Id: I765dd9bab26e3736c6b18a291cfd108342644e8e --- 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 2cf32fe5bace..6f418418a889 100644 --- a/framework/inc/uielement/progressbarwrapper.hxx +++ b/framework/inc/uielement/progressbarwrapper.hxx @@ -50,7 +50,7 @@ class ProgressBarWrapper : public UIElementWrapperBase 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); + void setValue( ::sal_Int32 Value ) throw (css::uno::RuntimeException, std::exception); void reset() throw (::com::sun::star::uno::RuntimeException); // UNO interfaces diff --git a/framework/source/uielement/progressbarwrapper.cxx b/framework/source/uielement/progressbarwrapper.cxx index e39246faf17f..f6ff5950f5b9 100644 --- a/framework/source/uielement/progressbarwrapper.cxx +++ b/framework/source/uielement/progressbarwrapper.cxx @@ -191,7 +191,7 @@ throw (uno::RuntimeException) } void ProgressBarWrapper::setValue( ::sal_Int32 nValue ) -throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { uno::Reference< awt::XWindow > xWindow; OUString aText; -- cgit