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

coverity#738258 Uncaught exception

Change-Id: I3a38f7db881469a5a08fa48f77609355ff6dae4c
üst 58047503
...@@ -542,7 +542,9 @@ public: ...@@ -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 ) ...@@ -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)
......
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