coverity#983617 Uncaught exception

Change-Id: I3f9c98d235d1bd5155653c6a56b757393bca2979
This commit is contained in:
Caolán McNamara 2014-01-27 15:35:34 +00:00
parent 773db5198e
commit aece42b7b4
2 changed files with 5 additions and 2 deletions

View file

@ -155,7 +155,9 @@ void RootAccess::removeChangesListener(
}
void RootAccess::commitChanges()
throw (css::lang::WrappedTargetException, css::uno::RuntimeException)
throw (css::lang::WrappedTargetException,
css::uno::RuntimeException,
std::exception)
{
assert(thisIs(IS_UPDATE));
if (!alive_)

View file

@ -92,7 +92,8 @@ public:
virtual void SAL_CALL commitChanges()
throw (
com::sun::star::lang::WrappedTargetException,
com::sun::star::uno::RuntimeException);
com::sun::star::uno::RuntimeException,
std::exception);
virtual sal_Bool SAL_CALL hasPendingChanges()
throw (com::sun::star::uno::RuntimeException);