summaryrefslogtreecommitdiffstats
path: root/stoc/source/namingservice/namingservice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/namingservice/namingservice.cxx')
-rw-r--r--stoc/source/namingservice/namingservice.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/stoc/source/namingservice/namingservice.cxx b/stoc/source/namingservice/namingservice.cxx
index cfbab255fe85..3f666af96c52 100644
--- a/stoc/source/namingservice/namingservice.cxx
+++ b/stoc/source/namingservice/namingservice.cxx
@@ -194,19 +194,10 @@ static struct ImplementationEntry g_entries[] =
{ 0, 0, 0, 0, 0, 0 }
};
-extern "C"
-{
-SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
-{
- return g_moduleCount.canUnload( &g_moduleCount , pTime );
-}
-
-//==================================================================================================
-SAL_DLLPUBLIC_EXPORT void * SAL_CALL namingservice_component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL namingservice_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
}
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */