coverity#1215385 Uncaught exception

Change-Id: I765dd9bab26e3736c6b18a291cfd108342644e8e
This commit is contained in:
Caolán McNamara 2014-05-22 20:50:31 +01:00
parent 3166336e53
commit fab0e8b40d
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class ProgressBarWrapper : public UIElementWrapperBase
void start( const OUString& Text, ::sal_Int32 Range ) throw (css::uno::RuntimeException, std::exception); 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 (::com::sun::star::uno::RuntimeException);
void setText( const OUString& Text ) 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); void reset() throw (::com::sun::star::uno::RuntimeException);
// UNO interfaces // UNO interfaces

View File

@ -191,7 +191,7 @@ throw (uno::RuntimeException)
} }
void ProgressBarWrapper::setValue( ::sal_Int32 nValue ) void ProgressBarWrapper::setValue( ::sal_Int32 nValue )
throw (uno::RuntimeException) throw (uno::RuntimeException, std::exception)
{ {
uno::Reference< awt::XWindow > xWindow; uno::Reference< awt::XWindow > xWindow;
OUString aText; OUString aText;