summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-22 20:50:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-23 08:54:36 +0100
commitfab0e8b40d32d17e5f79f4abbcf33caa610ff70f (patch)
treec109dc6bab2b2bfbe88ea7640e33ad11ae0a5115 /framework
parent3166336e535c15578bc91a00b0a96d72d676c8a4 (diff)
coverity#1215385 Uncaught exception
Change-Id: I765dd9bab26e3736c6b18a291cfd108342644e8e
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 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;