diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 15:35:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 17:03:05 +0000 |
commit | aece42b7b4223a472d846061f983cfe139473a46 (patch) | |
tree | 9eb8906776ba8ecf22149f7b99d1e0a5e1a18a74 /configmgr/source | |
parent | 773db5198ee21941c34aba84014552bf41df699d (diff) |
coverity#983617 Uncaught exception
Change-Id: I3f9c98d235d1bd5155653c6a56b757393bca2979
Diffstat (limited to 'configmgr/source')
-rw-r--r-- | configmgr/source/rootaccess.cxx | 4 | ||||
-rw-r--r-- | 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); |