coverity#738258 Uncaught exception
Change-Id: I3a38f7db881469a5a08fa48f77609355ff6dae4c
This commit is contained in:
@@ -542,7 +542,9 @@ public:
|
|||||||
virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException);
|
virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException);
|
||||||
|
|
||||||
//XTableRows
|
//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 );
|
virtual void SAL_CALL removeByIndex(sal_Int32 nIndex, sal_Int32 nCount) throw( ::com::sun::star::uno::RuntimeException );
|
||||||
|
|
||||||
//XServiceInfo
|
//XServiceInfo
|
||||||
|
@@ -4797,7 +4797,8 @@ sal_Bool SwXTableRows::hasElements(void) throw( uno::RuntimeException )
|
|||||||
return sal_True;
|
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;
|
SolarMutexGuard aGuard;
|
||||||
if (nCount == 0)
|
if (nCount == 0)
|
||||||
|
Reference in New Issue
Block a user