coverity#738260 Uncaught exception

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

View File

@@ -545,7 +545,9 @@ public:
virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, sal_Int32 nCount) virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
throw (::com::sun::star::uno::RuntimeException, throw (::com::sun::star::uno::RuntimeException,
std::exception); 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,
std::exception);
//XServiceInfo //XServiceInfo
virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException );

View File

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