summaryrefslogtreecommitdiff
path: root/sdext/source
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 /sdext/source
parentef08518fcfdab0e5fd5c61aa4fb4f7907fcb8355 (diff)
remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
Diffstat (limited to 'sdext/source')
-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