diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-22 20:51:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 08:54:36 +0100 |
commit | 4cf56e058488ce7c24f992f1e5125676b7064ede (patch) | |
tree | 9f2b5c1b52d8fe77fe9748070bcdf9af3ff50443 /framework | |
parent | 6cda7d5793cf079a652cf31fc07f44797a1bd22e (diff) |
coverity#1215383 Uncaught exception
Change-Id: I568ba1a942acd622611fb53210e303147b77601f
Diffstat (limited to 'framework')
-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 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; |