diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-04 15:08:33 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-05 09:44:18 -0600 |
commit | fbf7bd25b0d6e4b37d36f0fa227bf20faf0d6db1 (patch) | |
tree | 2f9c44f74515d511411a779b90bef80dd8f7689a /ucb | |
parent | e090a0f5802904ca8cded9208993e09bc08a3052 (diff) |
kill XINTERFACE_IMPL_5
Change-Id: Id1e61cd6873458f052d61c95617ade753face61c
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucbstore.cxx | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index 131aa365610c..28d34269209b 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -331,21 +331,34 @@ PropertySetRegistry::~PropertySetRegistry() // XInterface methods. +void SAL_CALL PropertySetRegistry::acquire() + throw() +{ + OWeakObject::acquire(); +} +void SAL_CALL PropertySetRegistry::release() + throw() +{ + OWeakObject::release(); +} -XINTERFACE_IMPL_5( PropertySetRegistry, - XTypeProvider, - XServiceInfo, - XPropertySetRegistry, - XElementAccess, /* base of XNameAccess */ - XNameAccess ); - - +css::uno::Any SAL_CALL PropertySetRegistry::queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ) +{ + css::uno::Any aRet = cppu::queryInterface( rType, + (static_cast< XTypeProvider* >(this)), + (static_cast< XServiceInfo* >(this)), + (static_cast< XPropertySetRegistry* >(this)), + (static_cast< XElementAccess* >(this)), + (static_cast< XNameAccess* >(this)) + ); + return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); +} // XTypeProvider methods. - XTYPEPROVIDER_IMPL_4( PropertySetRegistry, XTypeProvider, XServiceInfo, |