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);