coverity#1215386 Uncaught exception

Change-Id: I2eb374a9209cf4bbf9e2b533ec2522bc1efe6468
This commit is contained in:
Caolán McNamara
2014-05-22 20:49:43 +01:00
parent c8646d9e00
commit 3166336e53
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ class ProgressBarWrapper : public UIElementWrapperBase
::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > getStatusBar() const;
// wrapped methods of ::com::sun::star::task::XStatusIndicator
void start( const OUString& Text, ::sal_Int32 Range ) throw (::com::sun::star::uno::RuntimeException);
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);

View File

@@ -84,7 +84,7 @@ uno::Reference< awt::XWindow > ProgressBarWrapper::getStatusBar() const
// wrapped methods of ::com::sun::star::task::XStatusIndicator
void ProgressBarWrapper::start( const OUString& Text, ::sal_Int32 Range )
throw (uno::RuntimeException)
throw (uno::RuntimeException, std::exception)
{
uno::Reference< awt::XWindow > xWindow;
sal_Int32 nValue( 0 );