summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/services.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/services.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/services.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/services.cxx b/xmlhelp/source/cxxhelp/provider/services.cxx
index f1fbd9ff7a52..42b39be9dd22 100644
--- a/xmlhelp/source/cxxhelp/provider/services.cxx
+++ b/xmlhelp/source/cxxhelp/provider/services.cxx
@@ -22,6 +22,7 @@
#include <com/sun/star/registry/XRegistryKey.hpp>
#include "provider.hxx"
+#include "tvfactory.hxx"
using namespace com::sun::star;
@@ -36,13 +37,15 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpchelp_component_getFactory(
reinterpret_cast< lang::XMultiServiceFactory * >( pServiceManager ) );
uno::Reference< lang::XSingleServiceFactory > xFactory;
- // Create factory, if implementation name matches.
-
if ( ::chelp::ContentProvider::getImplementationName_Static().
equalsAscii( pImplName ) )
{
xFactory = ::chelp::ContentProvider::createServiceFactory( xSMgr );
}
+ else if ( treeview::TVFactory::getImplementationName_static().equalsAscii( pImplName ) )
+ {
+ xFactory = treeview::TVFactory::createServiceFactory( xSMgr );
+ }
if ( xFactory.is() )
{