coverity#738258 Uncaught exception

Change-Id: I3a38f7db881469a5a08fa48f77609355ff6dae4c
This commit is contained in:
Caolán McNamara
2014-02-13 13:53:13 +00:00
parent 5804750380
commit b1ed6e54de
2 changed files with 5 additions and 2 deletions

View File

@@ -542,7 +542,9 @@ public:
virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException);
//XTableRows
virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, sal_Int32 nCount) throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL removeByIndex(sal_Int32 nIndex, sal_Int32 nCount) throw( ::com::sun::star::uno::RuntimeException );
//XServiceInfo

View File

@@ -4797,7 +4797,8 @@ sal_Bool SwXTableRows::hasElements(void) throw( uno::RuntimeException )
return sal_True;
}
void SwXTableRows::insertByIndex(sal_Int32 nIndex, sal_Int32 nCount) throw( uno::RuntimeException )
void SwXTableRows::insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if (nCount == 0)