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.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/services.cxx b/xmlhelp/source/cxxhelp/provider/services.cxx
index ec4e5642efae..ee7c1f7f9e84 100644
--- a/xmlhelp/source/cxxhelp/provider/services.cxx
+++ b/xmlhelp/source/cxxhelp/provider/services.cxx
@@ -25,7 +25,6 @@
using namespace com::sun::star;
-//=========================================================================
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpchelp_component_getFactory(
const sal_Char * pImplName,
void * pServiceManager,
@@ -37,9 +36,7 @@ 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().
compareToAscii( pImplName ) == 0 )
@@ -47,8 +44,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpchelp_component_getFactory(
xFactory = ::chelp::ContentProvider::createServiceFactory( xSMgr );
}
- //////////////////////////////////////////////////////////////////////
-
if ( xFactory.is() )
{
xFactory->acquire();