Kaydet (Commit) f0d873b7 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#738416 Uncaught exception

Change-Id: I94ae558032d16f3000909c266c808d4c187c0e70
üst e6b2349f
......@@ -371,7 +371,8 @@ public:
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
css::uno::RuntimeException);
css::uno::RuntimeException,
std::exception);
virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException);
......
......@@ -206,7 +206,9 @@ public:
virtual void SAL_CALL gotoRange( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange >& xRange, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
//XPageCursor
virtual sal_Bool SAL_CALL jumpToFirstPage(void) throw( ::com::sun::star::uno::RuntimeException );
virtual sal_Bool SAL_CALL jumpToFirstPage()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual sal_Bool SAL_CALL jumpToLastPage()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
......
......@@ -1217,7 +1217,8 @@ void SwXTextViewCursor::gotoEnd(sal_Bool bExpand) throw( uno::RuntimeException )
throw uno::RuntimeException();
}
sal_Bool SwXTextViewCursor::jumpToFirstPage(void) throw( uno::RuntimeException )
sal_Bool SwXTextViewCursor::jumpToFirstPage()
throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
sal_Bool bRet = sal_False;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment