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

coverity#738400 Uncaught exception

Change-Id: I8567bda45c4f1c9d90dbbf69368a74e27b79d9b0
üst 0e0f99ae
......@@ -178,9 +178,11 @@ public:
//XTextCursor - neu
virtual void SAL_CALL collapseToStart()
throw(::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL collapseToEnd( ) throw(::com::sun::star::uno::RuntimeException);
throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL collapseToEnd()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual sal_Bool SAL_CALL isCollapsed( ) throw(::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL goLeft( sal_Int16 nCount, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL goRight( sal_Int16 nCount, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException);
......
......@@ -962,7 +962,8 @@ void SwXTextViewCursor::collapseToStart()
throw uno::RuntimeException();
}
void SwXTextViewCursor::collapseToEnd(void) throw( uno::RuntimeException )
void SwXTextViewCursor::collapseToEnd()
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