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

coverity#738439 Uncaught exception

Change-Id: Id41ca6a0c254777fec3894c11fc755d9087af51a
üst 904f2057
......@@ -206,7 +206,9 @@ public:
throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL gotoStart( sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL gotoEnd( sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL gotoEnd( sal_Bool bExpand )
throw (::com::sun::star::uno::RuntimeException,
std::exception);
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
......
......@@ -1205,7 +1205,8 @@ void SwXTextViewCursor::gotoStart(sal_Bool bExpand) throw( uno::RuntimeException
throw uno::RuntimeException();
}
void SwXTextViewCursor::gotoEnd(sal_Bool bExpand) throw( uno::RuntimeException )
void SwXTextViewCursor::gotoEnd(sal_Bool bExpand)
throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
......
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