summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterComponent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterComponent.cxx')
-rw-r--r--sdext/source/presenter/PresenterComponent.cxx15
1 files changed, 3 insertions, 12 deletions
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