summaryrefslogtreecommitdiff
path: root/animations
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-07-28 14:37:59 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-07-28 14:37:59 +0200
commit7e5b4be4cf6f699ec8fcfa8fb9cb35d5782b2f41 (patch)
tree48acfeb72d0775ae5729a8e4c7f94d78be3df589 /animations
parent58707d613f0fdd7e80cde7502195d7d0112fa3a4 (diff)
add prefixes for component_getFactory
Diffstat (limited to 'animations')
-rw-r--r--animations/source/animcore/animcore.component2
-rw-r--r--animations/source/animcore/factreg.cxx8
2 files changed, 2 insertions, 8 deletions
diff --git a/animations/source/animcore/animcore.component b/animations/source/animcore/animcore.component
index 1a9a390fb64b..e0d28e164717 100644
--- a/animations/source/animcore/animcore.component
+++ b/animations/source/animcore/animcore.component
@@ -26,7 +26,7 @@
*
**********************************************************************-->
-<component loader="com.sun.star.loader.SharedLibrary"
+<component loader="com.sun.star.loader.SharedLibrary" prefix="animcore"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="animcore::Animate">
<service name="com.sun.star.animations.Animate"/>
diff --git a/animations/source/animcore/factreg.cxx b/animations/source/animcore/factreg.cxx
index ac58a68d24e9..97ebacf48cb3 100644
--- a/animations/source/animcore/factreg.cxx
+++ b/animations/source/animcore/factreg.cxx
@@ -74,13 +74,7 @@ static struct ImplementationEntry g_entries[] =
extern "C"
{
-sal_Bool SAL_CALL component_canUnload( TimeValue *pTime )
-{
- return g_moduleCount.canUnload( &g_moduleCount , pTime );
-}
-
-//==================================================================================================
-SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
+SAL_DLLPUBLIC_EXPORT void * SAL_CALL animcore_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );