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 /slideshow/source/engine/OGLTrans | |
parent | 58707d613f0fdd7e80cde7502195d7d0112fa3a4 (diff) |
add prefixes for component_getFactory
Diffstat (limited to 'slideshow/source/engine/OGLTrans')
4 files changed, 28 insertions, 4 deletions
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: */ |