diff options
Diffstat (limited to 'toolkit/source/controls/stdtabcontrollermodel.cxx')
-rw-r--r-- | toolkit/source/controls/stdtabcontrollermodel.cxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/toolkit/source/controls/stdtabcontrollermodel.cxx b/toolkit/source/controls/stdtabcontrollermodel.cxx index 8bac30c7f019..8b95155001bf 100644 --- a/toolkit/source/controls/stdtabcontrollermodel.cxx +++ b/toolkit/source/controls/stdtabcontrollermodel.cxx @@ -24,6 +24,7 @@ #include <toolkit/helper/macros.hxx> #include <toolkit/helper/servicenames.hxx> #include <toolkit/helper/property.hxx> +#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/queryinterface.hxx> #include <rtl/uuid.h> @@ -414,6 +415,26 @@ void StdTabControllerModel::read( const ::com::sun::star::uno::Reference< ::com: } } +OUString StdTabControllerModel::getImplementationName() + throw (css::uno::RuntimeException, std::exception) +{ + return OUString("stardiv.Toolkit.StdTabControllerModel"); +} + +sal_Bool StdTabControllerModel::supportsService(OUString const & ServiceName) + throw (css::uno::RuntimeException, std::exception) +{ + return cppu::supportsService(this, ServiceName); +} + +css::uno::Sequence<OUString> StdTabControllerModel::getSupportedServiceNames() + throw (css::uno::RuntimeException, std::exception) +{ + return css::uno::Sequence<OUString>{ + OUString::createFromAscii(szServiceName2_TabControllerModel), + "stardiv.vcl.controlmodel.TabController"}; +} + extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL stardiv_Toolkit_StdTabControllerModel_get_implementation( css::uno::XComponentContext *, |