coverity#738461 Uncaught exception

Change-Id: Iecc2653faae6bebd31909139392586fe66a17cb4
This commit is contained in:
Caolán McNamara 2014-05-28 16:08:34 +01:00
parent 444125a8aa
commit 1af37550cf
2 changed files with 4 additions and 2 deletions

View file

@ -348,7 +348,8 @@ SwVbaSelection::Move( const uno::Any& _unit, const uno::Any& _count, const uno::
}
}
void SwVbaSelection::NextCell( sal_Int32 nCount, word::E_DIRECTION eDirection ) throw ( uno::RuntimeException )
void SwVbaSelection::NextCell(sal_Int32 nCount, word::E_DIRECTION eDirection)
throw (css::script::BasicErrorException, uno::RuntimeException)
{
uno::Reference< beans::XPropertySet > xCursorProps( mxTextViewCursor, uno::UNO_QUERY_THROW );
uno::Reference< text::XTextTable > xTextTable;

View file

@ -42,7 +42,8 @@ private:
private:
void Move( const css::uno::Any& _unit, const css::uno::Any& _count, const css::uno::Any& _extend, ooo::vba::word::E_DIRECTION eDirection ) throw (css::uno::RuntimeException);
void NextCell( sal_Int32 nCount, ooo::vba::word::E_DIRECTION eDirection ) throw ( css::uno::RuntimeException );
void NextCell( sal_Int32 nCount, ooo::vba::word::E_DIRECTION eDirection )
throw (css::script::BasicErrorException, css::uno::RuntimeException);
css::uno::Reference< css::text::XTextRange > GetSelectedRange() throw ( css::uno::RuntimeException );
void GetSelectedCellRange( OUString& sTLName, OUString& sBRName ) throw ( css::uno::RuntimeException );
css::uno::Reference< css::text::XTextTable > GetXTextTable() throw ( css::uno::RuntimeException );