summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/crefl.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-04-10 16:29:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-19 16:52:03 +0200
commiteeaa2ecd1e1f6e0f468854b891de0caa28c470e6 (patch)
tree8301967148dea710244b57c008b4fa18d176965a /stoc/source/corereflection/crefl.cxx
parentef08518fcfdab0e5fd5c61aa4fb4f7907fcb8355 (diff)
remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
Diffstat (limited to 'stoc/source/corereflection/crefl.cxx')
-rw-r--r--stoc/source/corereflection/crefl.cxx20
1 files changed, 1 insertions, 19 deletions
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index edec3880ec2e..23867573e567 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -451,10 +451,6 @@ Reference< XInterface > SAL_CALL IdlReflectionServiceImpl_create(
}
-//##################################################################################################
-//##################################################################################################
-//##################################################################################################
-
using namespace stoc_corefl;
static struct ImplementationEntry g_entries[] =
@@ -467,24 +463,10 @@ static struct ImplementationEntry g_entries[] =
{ 0, 0, 0, 0, 0, 0 }
};
-extern "C"
-{
-
-#ifndef DISABLE_DYNLOADING
-
-SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
-{
- return g_moduleCount.canUnload( &g_moduleCount , pTime );
-}
-
-#endif
-
-//==================================================================================================
-SAL_DLLPUBLIC_EXPORT void * SAL_CALL reflection_component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL reflection_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: */