diff options
Diffstat (limited to 'slideshow')
6 files changed, 38 insertions, 6 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: */ 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"/> |