summaryrefslogtreecommitdiff
path: root/forms/source/inc/forms_module.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/inc/forms_module.hxx')
-rw-r--r--forms/source/inc/forms_module.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/inc/forms_module.hxx b/forms/source/inc/forms_module.hxx
index af987c9b4841..655a78adb9a5 100644
--- a/forms/source/inc/forms_module.hxx
+++ b/forms/source/inc/forms_module.hxx
@@ -205,8 +205,8 @@ namespace FORMS_MODULE_NAMESPACE
//= OMultiInstanceAutoRegistration or OOneInstanceAutoRegistration
//==========================================================================
#define DECLARE_SERVICE_REGISTRATION( classname ) \
- virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException); \
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException); \
+ virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException, std::exception); \
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception); \
\
static OUString SAL_CALL getImplementationName_Static(); \
static ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_Static(); \
@@ -217,10 +217,10 @@ namespace FORMS_MODULE_NAMESPACE
#define IMPLEMENT_SERVICE_REGISTRATION_BASE( classname, baseclass ) \
\
- OUString SAL_CALL classname::getImplementationName( ) throw ( RuntimeException ) \
+ OUString SAL_CALL classname::getImplementationName( ) throw ( RuntimeException, std::exception ) \
{ return getImplementationName_Static(); } \
\
- Sequence< OUString > SAL_CALL classname::getSupportedServiceNames( ) throw (RuntimeException) \
+ Sequence< OUString > SAL_CALL classname::getSupportedServiceNames( ) throw (RuntimeException, std::exception) \
{ \
return ::comphelper::concatSequences( \
getAggregateServiceNames(), \