diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-28 14:37:59 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-28 14:37:59 +0200 |
commit | 7e5b4be4cf6f699ec8fcfa8fb9cb35d5782b2f41 (patch) | |
tree | 48acfeb72d0775ae5729a8e4c7f94d78be3df589 | |
parent | 58707d613f0fdd7e80cde7502195d7d0112fa3a4 (diff) |
add prefixes for component_getFactory
-rw-r--r-- | animations/source/animcore/animcore.component | 2 | ||||
-rw-r--r-- | animations/source/animcore/factreg.cxx | 8 | ||||
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/unoidl/detreg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/facreg.cxx | 2 | ||||
-rw-r--r-- | sd/util/sd.component | 2 | ||||
-rw-r--r-- | sd/util/sdd.component | 2 | ||||
-rw-r--r-- | sd/util/sdfilt.component | 2 | ||||
-rw-r--r-- | slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm | 10 | ||||
-rw-r--r-- | slideshow/source/engine/OGLTrans/ogltrans.component | 2 | ||||
-rw-r--r-- | slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx | 10 | ||||
-rw-r--r-- | slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx | 10 | ||||
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 10 | ||||
-rw-r--r-- | slideshow/util/slideshow.component | 2 |
14 files changed, 46 insertions, 24 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 ); diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 69c231abaeb5..6cf83a76c072 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -2236,11 +2236,7 @@ extern "C" { #endif -// ------------------------ -// - component_getFactory - -// ------------------------ - -SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* pRegistryKey ) +SAL_DLLPUBLIC_EXPORT void* SAL_CALL sdfilt_component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* pRegistryKey ) { return cppu::component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries ); } diff --git a/sd/source/ui/unoidl/detreg.cxx b/sd/source/ui/unoidl/detreg.cxx index 92fb91fe1d17..4f0c168e861e 100644 --- a/sd/source/ui/unoidl/detreg.cxx +++ b/sd/source/ui/unoidl/detreg.cxx @@ -42,7 +42,7 @@ using namespace ::com::sun::star::lang; extern "C" { -SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( +SAL_DLLPUBLIC_EXPORT void* SAL_CALL sdd_component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, void* ) diff --git a/sd/source/ui/unoidl/facreg.cxx b/sd/source/ui/unoidl/facreg.cxx index 563c374286c9..f086164ef393 100644 --- a/sd/source/ui/unoidl/facreg.cxx +++ b/sd/source/ui/unoidl/facreg.cxx @@ -297,7 +297,7 @@ static ::boost::shared_ptr<FactoryMap> spFactoryMap; extern "C" { -SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( +SAL_DLLPUBLIC_EXPORT void * SAL_CALL sd_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * ) diff --git a/sd/util/sd.component b/sd/util/sd.component index 0d0011b4839e..23102584e8e1 100644 --- a/sd/util/sd.component +++ b/sd/util/sd.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="sd" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.Draw.DrawingDocument"> <service name="com.sun.star.drawing.DrawingDocument"/> diff --git a/sd/util/sdd.component b/sd/util/sdd.component index 51160d0f04fe..0bf634197c52 100644 --- a/sd/util/sdd.component +++ b/sd/util/sdd.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="sdd" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.draw.FormatDetector"> <service name="com.sun.star.frame.ExtendedTypeDetection"/> diff --git a/sd/util/sdfilt.component b/sd/util/sdfilt.component index 397d31cf648f..17f09f45c460 100644 --- a/sd/util/sdfilt.component +++ b/sd/util/sdfilt.component @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="sdfilt" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.Impress.oox.PowerPointExport"> <service name="com.sun.star.comp.ooxpptx"/> diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm index 9200f4c94f7c..00271253086e 100644 --- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm +++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm @@ -1129,4 +1129,12 @@ namespace sdecl = comphelper::service_decl; "com.sun.star.presentation.TransitionFactory" ); // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(OGLTransitionFactoryDecl) +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL ogltrans_component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, OGLTransitionFactoryDecl ); +} +} diff --git a/slideshow/source/engine/OGLTrans/ogltrans.component b/slideshow/source/engine/OGLTrans/ogltrans.component index 89f2384b0d6c..f0a2a97adc6d 100644 --- a/slideshow/source/engine/OGLTrans/ogltrans.component +++ b/slideshow/source/engine/OGLTrans/ogltrans.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="ogltrans" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.presentation.OGLTransitionFactory"> <service name="com.sun.star.presentation.TransitionFactory"/> diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx index ba84cd38d8b3..f9ce32c85345 100644 --- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionerImpl.cxx @@ -1477,6 +1477,14 @@ namespace sdecl = comphelper::service_decl; "com.sun.star.presentation.TransitionFactory" ); // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(OGLTransitionFactoryDecl) +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL ogltrans_component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, OGLTransitionFactoryDecl ); +} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx index 3a5bc0b43e88..448a6434afd5 100644 --- a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionerImpl.cxx @@ -1450,6 +1450,14 @@ namespace sdecl = comphelper::service_decl; "com.sun.star.presentation.TransitionFactory" ); // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(OGLTransitionFactoryDecl) +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL ogltrans_component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, OGLTransitionFactoryDecl ); +} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 7ede504abc20..fd9731484a99 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -2460,6 +2460,14 @@ namespace sdecl = comphelper::service_decl; "com.sun.star.presentation.SlideShow" ); // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(slideShowDecl) +extern "C" +{ +SAL_DLLPUBLIC_EXPORT void* SAL_CALL slideshow_component_getFactory( sal_Char const* pImplName, + ::com::sun::star::lang::XMultiServiceFactory* pServiceManager, + ::com::sun::star::registry::XRegistryKey* pRegistryKey ) +{ + return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, slideShowDecl ); +} +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/slideshow/util/slideshow.component b/slideshow/util/slideshow.component index 540c586f1ff5..5c13798259ac 100644 --- a/slideshow/util/slideshow.component +++ b/slideshow/util/slideshow.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="slideshow" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.presentation.SlideShow"> <service name="com.sun.star.presentation.SlideShow"/> |