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

coverity#1158392 Uncaught exception

Change-Id: Ifbf896bf8c13e83279e481e06098b7ed6ea0116c
üst 94ab3a00
......@@ -1505,7 +1505,7 @@ sal_Bool SAL_CALL ScAccessibleSpreadsheet::selectColumn( sal_Int32 column )
}
sal_Bool SAL_CALL ScAccessibleSpreadsheet::unselectRow( sal_Int32 row )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
if (IsFormulaMode())
{
......
......@@ -498,26 +498,27 @@ void ScAccessibleTableBase::CommitTableModelChange(sal_Int32 nStartRow, sal_Int3
}
sal_Bool SAL_CALL ScAccessibleTableBase::selectRow( sal_Int32 )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
return sal_True;
}
sal_Bool SAL_CALL ScAccessibleTableBase::selectColumn( sal_Int32 )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException,
std::exception)
throw (lang::IndexOutOfBoundsException, uno::RuntimeException,
std::exception)
{
return sal_True;
}
sal_Bool SAL_CALL ScAccessibleTableBase::unselectRow( sal_Int32 )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
throw (lang::IndexOutOfBoundsException, uno::RuntimeException,
std::exception)
{
return sal_True;
}
sal_Bool SAL_CALL ScAccessibleTableBase::unselectColumn( sal_Int32 )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
return sal_True;
}
......
......@@ -247,7 +247,8 @@ private:
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException,
std::exception);
virtual sal_Bool SAL_CALL unselectRow( sal_Int32 row )
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException,
std::exception);
virtual sal_Bool SAL_CALL unselectColumn( sal_Int32 column )
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
......
......@@ -201,7 +201,8 @@ public:
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException,
std::exception);
virtual sal_Bool SAL_CALL unselectRow( sal_Int32 row )
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException,
std::exception);
virtual sal_Bool SAL_CALL unselectColumn( sal_Int32 column )
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) ;
......
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