summaryrefslogtreecommitdiff
path: root/framework/inc/macros/xinterface.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/macros/xinterface.hxx')
-rw-r--r--framework/inc/macros/xinterface.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/macros/xinterface.hxx b/framework/inc/macros/xinterface.hxx
index 9ce2bbc43318..b7cabea59c79 100644
--- a/framework/inc/macros/xinterface.hxx
+++ b/framework/inc/macros/xinterface.hxx
@@ -81,7 +81,7 @@ ________________________________________________________________________________
// implementation of XInterface::queryInterface() with max. 12 other interfaces!
//*****************************************************************************************************************
#define PRIVATE_DEFINE_XINTERFACE_QUERYINTERFACE( CLASS, BASECLASS, INTERFACES ) \
- ::com::sun::star::uno::Any SAL_CALL CLASS::queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException ) \
+ ::com::sun::star::uno::Any SAL_CALL CLASS::queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) \
{ \
/* Attention: Don't use mutex or guard in this method!!! Is a method of XInterface. */ \
/* Ask for my own supported interfaces ... */ \
@@ -102,7 +102,7 @@ ________________________________________________________________________________
// implementation of XInterface::queryInterface() with more then 12 other interfaces!
//*****************************************************************************************************************
#define PRIVATE_DEFINE_XINTERFACE_QUERYINTERFACE_LARGE( CLASS, BASECLASS, INTERFACES_FIRST, INTERFACES_SECOND ) \
- ::com::sun::star::uno::Any SAL_CALL CLASS::queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException ) \
+ ::com::sun::star::uno::Any SAL_CALL CLASS::queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) \
{ \
/* Attention: Don't use mutex or guard in this method!!! Is a method of XInterface. */ \
/* Ask for my own supported interfaces ... */ \
@@ -214,7 +214,7 @@ ________________________________________________________________________________
// declaration of XInterface
//*****************************************************************************************************************
#define FWK_DECLARE_XINTERFACE \
- virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException ); \
+ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw( ::com::sun::star::uno::RuntimeException, std::exception ); \
virtual void SAL_CALL acquire ( ) throw(); \
virtual void SAL_CALL release ( ) throw();