From eeaa2ecd1e1f6e0f468854b891de0caa28c470e6 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Wed, 10 Apr 2013 16:29:45 +0200 Subject: remove unused component_canUnload functions Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc --- sdext/source/presenter/PresenterComponent.cxx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'sdext') diff --git a/sdext/source/presenter/PresenterComponent.cxx b/sdext/source/presenter/PresenterComponent.cxx index f285d1346898..c66037eaf226 100644 --- a/sdext/source/presenter/PresenterComponent.cxx +++ b/sdext/source/presenter/PresenterComponent.cxx @@ -49,19 +49,10 @@ static struct ImplementationEntry gServiceEntries[] = { 0, 0, 0, 0, 0, 0 } }; -extern "C" -{ - SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL presenter_component_canUnload( TimeValue *pTime ) - { - return g_moduleCount.canUnload( &g_moduleCount , pTime ); - } - - SAL_DLLPUBLIC_EXPORT void * SAL_CALL presenter_component_getFactory( +extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL presenter_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) - { - return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , gServiceEntries); - } - +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , gServiceEntries); } } } // end of namespace sdext::presenter -- cgit