summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-01 14:32:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-02 16:59:57 +0100
commitd9e7a359ef8adeb1f79927a33d09a6f503e3d4de (patch)
treece7d56fe1e7967cd71374748817093a570bd7e8d /framework
parent495726247340b02792c956cf4a16140c34087bb2 (diff)
coverity#1219797 Uncaught exception
Change-Id: I597fb90d677e7cade71bf6cbf7f7bce9d3bd05f6
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/uielement/progressbarwrapper.hxx2
-rw-r--r--framework/source/uielement/progressbarwrapper.cxx2
2 files changed, 2 insertions, 2 deletions
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 );