diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 11:05:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 11:06:01 +0100 |
commit | ea0bb58d98b651599dabf9a93f9568f46c3baeb1 (patch) | |
tree | 6a340850ddf9d4c8161c688b49873635ed29483e /filter | |
parent | 83853b9c86ee867f743b6b1827c6eb6b3a5c21d5 (diff) |
Drop unused comphelper::service_decl::component_getFactoryHelper params
Change-Id: Ia47c0bc3539ddf8f925cd053a2431c742c46d337
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphic/Services.cxx | 8 | ||||
-rw-r--r-- | filter/source/svg/svgfilter.cxx | 8 |
2 files changed, 6 insertions, 10 deletions
diff --git a/filter/source/graphic/Services.cxx b/filter/source/graphic/Services.cxx index 35cf5d75bb48..87d0268f557f 100644 --- a/filter/source/graphic/Services.cxx +++ b/filter/source/graphic/Services.cxx @@ -38,17 +38,15 @@ const comphelper::service_decl::ServiceDecl graphicExportDialog( extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL graphicfilter_component_getFactory( - sal_Char const* pImplementationName, - ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, - ::com::sun::star::registry::XRegistryKey* pRegistryKey ) + sal_Char const* pImplementationName, void*, void*) { if ( rtl_str_compare (pImplementationName, GRAPHIC_EXPORT_FILTER_SERVICE) == 0 ) { - return component_getFactoryHelper( pImplementationName, pServiceManager, pRegistryKey, graphicExportFilter ); + return component_getFactoryHelper( pImplementationName, graphicExportFilter ); } else if ( rtl_str_compare (pImplementationName, GRAPHIC_EXPORT_DIALOG_SERVICE) == 0 ) { - return component_getFactoryHelper( pImplementationName, pServiceManager, pRegistryKey, graphicExportDialog ); + return component_getFactoryHelper( pImplementationName, graphicExportDialog ); } return NULL; } diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx index 4da938250940..e44c37d9136f 100644 --- a/filter/source/svg/svgfilter.cxx +++ b/filter/source/svg/svgfilter.cxx @@ -408,17 +408,15 @@ namespace sdecl = comphelper::service_decl; // The C shared lib entry points extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL svgfilter_component_getFactory( - sal_Char const* pImplName, - ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, - ::com::sun::star::registry::XRegistryKey* pRegistryKey ) + sal_Char const* pImplName, void*, void*) { if ( rtl_str_compare (pImplName, SVG_FILTER_IMPL_NAME) == 0 ) { - return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, svgFilter ); + return component_getFactoryHelper( pImplName, svgFilter ); } else if ( rtl_str_compare (pImplName, SVG_WRITER_IMPL_NAME) == 0 ) { - return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, svgWriter ); + return component_getFactoryHelper( pImplName, svgWriter ); } return NULL; } |