diff options
Diffstat (limited to 'svtools/source/uno/miscservices.cxx')
-rw-r--r-- | svtools/source/uno/miscservices.cxx | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/svtools/source/uno/miscservices.cxx b/svtools/source/uno/miscservices.cxx index 90feccf47473..2a9671941951 100644 --- a/svtools/source/uno/miscservices.cxx +++ b/svtools/source/uno/miscservices.cxx @@ -37,13 +37,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::registry; using namespace ::com::sun::star::lang; - -namespace sdecl = comphelper::service_decl; - -namespace unographic { -extern sdecl::ServiceDecl const serviceDecl; -} - // for CreateInstance functions implemented elsewhere, while the function is within a namespace #define DECLARE_CREATEINSTANCE_NAMESPACE( nmspe, ImplName ) \ namespace nmspe { \ @@ -56,7 +49,7 @@ extern "C" { SAL_DLLPUBLIC_EXPORT void * SAL_CALL svt_component_getFactory ( - const sal_Char * pImplementationName, void * _pServiceManager, void * pRegistryKey) + const sal_Char * pImplementationName, void * _pServiceManager, void * ) { void * pResult = 0; if ( _pServiceManager ) @@ -76,14 +69,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL svt_component_getFactory ( svt::OAddressBookSourceDialogUno_CreateInstance, aServiceNames); } - else - { - pResult = comphelper::service_decl::component_getFactoryHelper( - pImplementationName, - static_cast<css::lang::XMultiServiceFactory *>(_pServiceManager), - static_cast<css::registry::XRegistryKey *>(pRegistryKey), - unographic::serviceDecl ); - } if ( xFactory.is() ) { |