diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-04 15:41:50 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-05 09:44:19 -0600 |
commit | a5aad2ac58f01702b91db051e66e2e855de00b10 (patch) | |
tree | 22a3cde45a9e2b3c41b802e9d3a548c2562cc8dd /ucbhelper | |
parent | 2ef98b947e8babddeaf5b67e580ba2f184c0e157 (diff) |
kill XINTERFACE_IMPL_9
Change-Id: I651599cf3ec82a31f3260985907b5b2d56665da3
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/resultset.cxx | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index 9e98e3681869..8c3d79112e19 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -248,20 +248,34 @@ ResultSet::~ResultSet() // XInterface methods. +void SAL_CALL ResultSet::acquire() + throw() +{ + OWeakObject::acquire(); +} +void SAL_CALL ResultSet::release() + throw() +{ + OWeakObject::release(); +} -XINTERFACE_IMPL_9( ResultSet, - lang::XTypeProvider, - lang::XServiceInfo, - lang::XComponent, - com::sun::star::ucb::XContentAccess, - sdbc::XResultSet, - sdbc::XResultSetMetaDataSupplier, - sdbc::XRow, - sdbc::XCloseable, - beans::XPropertySet ); - - +css::uno::Any SAL_CALL ResultSet::queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ) +{ + css::uno::Any aRet = cppu::queryInterface( rType, + (static_cast< lang::XTypeProvider* >(this)), + (static_cast< lang::XServiceInfo* >(this)), + (static_cast< lang::XComponent* >(this)), + (static_cast< css::ucb::XContentAccess* >(this)), + (static_cast< sdbc::XResultSet* >(this)), + (static_cast< sdbc::XResultSetMetaDataSupplier* >(this)), + (static_cast< sdbc::XRow* >(this)), + (static_cast< sdbc::XCloseable* >(this)), + (static_cast< beans::XPropertySet* >(this)) + ); + return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); +} // XTypeProvider methods. |