summaryrefslogtreecommitdiff
path: root/starmath/source/register.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/register.cxx')
-rw-r--r--starmath/source/register.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/starmath/source/register.cxx b/starmath/source/register.cxx
index 683f5c589fa8..e3bfe9f79e5b 100644
--- a/starmath/source/register.cxx
+++ b/starmath/source/register.cxx
@@ -46,14 +46,7 @@ SAL_DLLPUBLIC_EXPORT void* sm_component_getFactory( const sal_Char* pImplementat
Reference< XSingleServiceFactory > xFactory ;
Reference< XMultiServiceFactory > xServiceManager( static_cast< XMultiServiceFactory* >( pServiceManager ) ) ;
- if( SmXMLImportMeta_getImplementationName().equalsAscii( pImplementationName ))
- {
- xFactory = ::cppu::createSingleFactory( xServiceManager,
- SmXMLImportMeta_getImplementationName(),
- SmXMLImportMeta_createInstance,
- SmXMLImportMeta_getSupportedServiceNames() );
- }
- else if( SmXMLImportSettings_getImplementationName().equalsAscii( pImplementationName ))
+ if (SmXMLImportSettings_getImplementationName().equalsAscii(pImplementationName))
{
xFactory = ::cppu::createSingleFactory( xServiceManager,
SmXMLImportSettings_getImplementationName(),