diff options
Diffstat (limited to 'ucbhelper/source/provider/resultset.cxx')
-rw-r--r-- | ucbhelper/source/provider/resultset.cxx | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index d8e34acce752..fb6d33239c41 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -270,10 +270,23 @@ XTYPEPROVIDER_IMPL_9( ResultSet, // XServiceInfo methods. +OUString SAL_CALL ResultSet::getImplementationName() + throw( css::uno::RuntimeException, std::exception ) +{ + return OUString( "ResultSet" ); +} + +sal_Bool SAL_CALL ResultSet::supportsService( const OUString& ServiceName ) + throw( css::uno::RuntimeException, std::exception ) +{ + return cppu::supportsService( this, ServiceName ); +} -XSERVICEINFO_NOFACTORY_IMPL_1( ResultSet, - OUString("ResultSet"), - RESULTSET_SERVICE_NAME ); +css::uno::Sequence< OUString > SAL_CALL ResultSet::getSupportedServiceNames() + throw( css::uno::RuntimeException, std::exception ) +{ + return { RESULTSET_SERVICE_NAME }; +} // XComponent methods. |