From 4cf56e058488ce7c24f992f1e5125676b7064ede Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 22 May 2014 20:51:57 +0100 Subject: coverity#1215383 Uncaught exception Change-Id: I568ba1a942acd622611fb53210e303147b77601f --- framework/inc/uielement/progressbarwrapper.hxx | 2 +- framework/source/uielement/progressbarwrapper.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/inc/uielement/progressbarwrapper.hxx b/framework/inc/uielement/progressbarwrapper.hxx index f4213084fa46..15fec13e1136 100644 --- a/framework/inc/uielement/progressbarwrapper.hxx +++ b/framework/inc/uielement/progressbarwrapper.hxx @@ -48,7 +48,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 end() throw (css::uno::RuntimeException, std::exception); 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 e8948f6b112b..2b2bfaaf0d46 100644 --- a/framework/source/uielement/progressbarwrapper.cxx +++ b/framework/source/uielement/progressbarwrapper.cxx @@ -124,7 +124,7 @@ void ProgressBarWrapper::start( const OUString& Text, ::sal_Int32 Range ) } void ProgressBarWrapper::end() -throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { uno::Reference< awt::XWindow > xWindow; -- cgit