From aece42b7b4223a472d846061f983cfe139473a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 27 Jan 2014 15:35:34 +0000 Subject: [PATCH] coverity#983617 Uncaught exception Change-Id: I3f9c98d235d1bd5155653c6a56b757393bca2979 --- configmgr/source/rootaccess.cxx | 4 +++- configmgr/source/rootaccess.hxx | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configmgr/source/rootaccess.cxx b/configmgr/source/rootaccess.cxx index 96fa39faf976..59b2bbd12051 100644 --- a/configmgr/source/rootaccess.cxx +++ b/configmgr/source/rootaccess.cxx @@ -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_) diff --git a/configmgr/source/rootaccess.hxx b/configmgr/source/rootaccess.hxx index b36cc9e0d64c..25d13082ed6d 100644 --- a/configmgr/source/rootaccess.hxx +++ b/configmgr/source/rootaccess.hxx @@ -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);