From d9e7a359ef8adeb1f79927a33d09a6f503e3d4de Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Sun, 1 Jun 2014 14:32:04 +0100
Subject: coverity#1219797 Uncaught exception

Change-Id: I597fb90d677e7cade71bf6cbf7f7bce9d3bd05f6
---
 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 15fec13e1136..cc1887d4ca5e 100644
--- a/framework/inc/uielement/progressbarwrapper.hxx
+++ b/framework/inc/uielement/progressbarwrapper.hxx
@@ -51,7 +51,7 @@ class ProgressBarWrapper : public UIElementWrapperBase
         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);
+        void reset() throw (css::uno::RuntimeException, std::exception);
 
         // UNO interfaces
         // XComponent
diff --git a/framework/source/uielement/progressbarwrapper.cxx b/framework/source/uielement/progressbarwrapper.cxx
index 2b2bfaaf0d46..011e244d6ec9 100644
--- a/framework/source/uielement/progressbarwrapper.cxx
+++ b/framework/source/uielement/progressbarwrapper.cxx
@@ -237,7 +237,7 @@ void ProgressBarWrapper::setValue( ::sal_Int32 nValue )
 }
 
 void ProgressBarWrapper::reset()
-throw (uno::RuntimeException)
+    throw (uno::RuntimeException, std::exception)
 {
     setText( OUString() );
     setValue( 0 );
-- 
cgit